Re: [WSG] Proper IE Hacks

2005-08-09 Thread Michael Allan

Wayne,


It *is* confusing.
But, yes, a separate stylesheet, loaded via conditional comments is 
the most future proof method.


Not exactly what Phillipe is describing, but along the same lines. 
Perhaps this will help get you going:


http://phonophunk.phreakin.com/news/?p=46

Cheers,
Mike

**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



[WSG]

2005-08-09 Thread Bennie, Jack






Hey guys
I'm getting some bizarre behaviour from my footer.
In IE6 when the page loads it seems to sit in the middle of the page/content but when I mouse over the nav on the left it sorts its self out?
In IE5, a similar problem occurs when I change the width of the browser window: the footer moves and flashes over the middle of the page? 

http://www.wcc.nsw.gov.au/intranet_error/template_content_test.html 


Can anybody help? This has been driving me mad!
Hope a URL is ok?! 


Cheers 



Regards

Jack Bennie

Web Developer - Web Services

WorkCover NSW

Tel: 02 4321 5063

Fax: 02 9287 5063


This message, including any attached files, is intended solely for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Any views expressed in this message are those of the individual sender and are not necessarily the views of WorkCover NSW.


[WSG] Flash 100% wide layout issues - resorting to javascript - eek!

2005-08-09 Thread Brendan Smith
Hi all,

I've come crawling back 
with some issues. I never seem to be much help to anyone else - I hope someone 
can help me here.

I have a page that has a 
banner, a menu, a side (tree) menu, a flash image viewing app as the main 
content, a control pannel and a footer.

My (unobtainable?) goal 
is to have the flash viewer take up all available height and width of the viewer 
window. The viewer is going to be used to view scanned/generated images of 
documents sent to the clients of our clients. The footer and tree menu are 
optional on some pages.

I'm having issues with 
the layout in general - I seem to be so close in so many ways, and yet so 
freakin' far in others - it's so elusive!

cue organ music 
I've faltered my brothers (and sisters) -I ran screaming back to my 
_javascript_ skills - crying for a solution to my woes - help me be strong! I used 
some _javascript_ to calculate the heights and widths and set some dimensions of 
the divs and flash.

Before I faltered to 
_javascript_...

Firefox tended to make 
the flash viewer stetch to 100% of the window, no matter what the actual size of 
it's container. In IE the width can seem fine, but then the viewer wants to be 
100% of the browser window height, ignoring the height of it's 
container.

I havemy 
_javascript_ stained version at https://demo.hpa.com.au/OLM/test/apps/ies/viewer_alpha1.htm
This version is the 
closest to where I want to get to, however there are issues when you resize the 
browser, the float on the side tree menu and the width of the flash viewer makes 
the flash viewer slip below the tree.

I don't want to use the 
_javascript_ if I can help it.

I need the flash viewer 
to be as large as possible (contractual agreement).

I want to be xHTML 
transitional.

Please get in touch, 
after 4 days of racking my head I just seem to be stuck in a 
rut.

Thanks 
all.

Brendan

PS - Can't wait for the 
Jeff Veen workshop!

Re: [WSG] Flash 100% wide layout issues - resorting to javascript - eek!

2005-08-09 Thread Rick Faaberg
On 8/9/05 3:00 AM Brendan Smith [EMAIL PROTECTED] sent this
out:

 I've come crawling back with some issues. I never seem to be much help to
 anyone else - I hope someone can help me here.

Grey tiny text. del msg

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] self-counting list items

2005-08-09 Thread Ben Ward
Yes, it's already implemented in the development versions of Firefox.
If you download Deer Park Alpha 2 (for TESTING!), you should be able
to play with all the CSS improvements.

http://developer.mozilla.org/devnews/index.php/2005/07/12/deer-park-alpha-2-released/

Ben
http://ben-ward.co.uk
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



[WSG] Interview: BBC TBL

2005-08-09 Thread TN38 [Admin]
Just a heads up to an interesting article about the big man himself and the
future of the web; due for broadcast on the UK's BBC2 tonight 22:30 BST.

http://news.bbc.co.uk/2/hi/technology/4132752.stm

Eddie
http://blog.tn38.net


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Flash 100% wide layout issues - resorting to javascript - eek!

2005-08-09 Thread Nick Gleitzman

Roger that. I gave up after Hi all'. Plain text, please, people?!

N
___
Omnivision. Websight.
http://www.omnivision.com.au/

On 9 Aug 2005, at 8:05 PM, Rick Faaberg wrote:

On 8/9/05 3:00 AM Brendan Smith [EMAIL PROTECTED] sent 
this

out:

I've come crawling back with some issues. I never seem to be much 
help to

anyone else - I hope someone can help me here.


Grey tiny text. del msg


**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



RE: [WSG] Newbie Questions: East-Asian Character Sets and Marking-up Poetry

2005-08-09 Thread John Foliot - WATS.ca
Kwok Ting Lee wrote:
 This is, I guess, one of the first times I've written anything here,
 but I've run into a bit of a dilemma and was hoping for some advice:
 
 1.  I have a number of analyses of poems I am planning on posting to
 my weblog over the next few months, however, I'm a bit stumped as to
 what mark-up would be most semantically correct  (The poems are quoted
 from another source, so for the time being I was thinking of using a
 blockquote):
 
 A.blockquote
   h3Title of Poem/h3
   p class=stanza
   Blah...blah..blah...br/
   More blah.br/
   
   /p
   /blockquote
 
 Or:
 
 B.dl class=poem
   dtTitle of Poem/dt
   ddBlah...blah..blach.../dd
   ddMore blah/dd
   ...
   /dl
 

Oh, no, definitely not the second option!  Absolutely wrong use of the
definition list.

Perhaps:

h3Title of Poem/h3
  blockquote
p class=stanza
Blah...blah..blah...br/
More blah.br/

/p
  /blockquote
  panalyse of poem.../p

In other words, you separate your content from the original authors.
You may also want to include the cite attribute, as you indicate that
the source of the texts are from elsewhere:

blockquote cite=http://www.other_source.com;

Also, not sure about Chinese poetry, but I know western poetry often
requires specific line breaks, making it a candidate for pre... (just
a random thought...)

h3Title of Poem/h3
  blockquote
pre
Blah...blah..blah...
More blah.

/pre
  /blockquote
  panalyse of poem.../p

Good Luck, HTH

JF
--
John Foliot  [EMAIL PROTECTED]
Web Accessibility Specialist / Co-founder of WATS.ca
Web Accessibility Testing and Services
http://www.wats.ca   
Phone: 1-613-482-7053 


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Flash 100% wide layout issues - resorting to javascript - eek!

2005-08-09 Thread Mugur Padurean
Wow ... Nick , you got so far ...


Re: [WSG] Flash 100% wide layout issues - resorting to javascript - eek!

2005-08-09 Thread russ - maxdesign
Full post below for those that could not read it.

Rick has a valid point. The WSG guidelines say (amongst other things):
Try to use plain text email rather than HTML email where possible.
http://webstandardsgroup.org/mail/guidelines.cfm

Now, can someone help Brendan out of his 4 day rut?
Russ


 Hi all,
 
 I've come crawling back with some issues. I never seem to be much help to
 anyone else - I hope someone can help me here.
 
 I have a page that has a banner, a menu, a side (tree) menu, a flash image
 viewing app as the main content, a control pannel and a footer.
 
 My (unobtainable?) goal is to have the flash viewer take up all available
 height and width of the viewer window. The viewer is going to be used to view
 scanned/generated images of documents sent to the clients of our clients. The
 footer and tree menu are optional on some pages.
 
 I'm having issues with the layout in general - I seem to be so close in so
 many ways, and yet so freakin' far in others - it's so elusive!
 
 cue organ music I've faltered my brothers (and sisters) - I ran screaming
 back to my javascript skills - crying for a solution to my woes - help me be
 strong! I used some javascript to calculate the heights and widths and set
 some dimensions of the divs and flash.
 
 Before I faltered to javascript...
 
 Firefox tended to make the flash viewer stetch to 100% of the window, no
 matter what the actual size of it's container. In IE the width can seem fine,
 but then the viewer wants to be 100% of the browser window height, ignoring
 the height of it's container.
 
 I have my javascript stained version at
 https://demo.hpa.com.au/OLM/test/apps/ies/viewer_alpha1.htm
 This version is the closest to where I want to get to, however there are
 issues when you resize the browser, the float on the side tree menu and the
 width of the flash viewer makes the flash viewer slip below the tree.
 
 I don't want to use the javascript if I can help it.
 
 I need the flash viewer to be as large as possible (contractual agreement).
 
 I want to be xHTML transitional.
 
 Please get in touch, after 4 days of racking my head I just seem to be stuck
 in a rut.
 
 Thanks all.
 
 Brendan
 
 PS - Can't wait for the Jeff Veen workshop!
 

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Flash 100% wide layout issues - resorting to javascript - eek!

2005-08-09 Thread Martin Heiden
Brendan,

 cue organ music I've faltered my brothers (and sisters) - I ran
 screaming back to my javascript skills - crying for a solution to my
 woes - help me be strong! I used some javascript to calculate the
 heights and widths and set some dimensions of the divs and flash.

Have you tried to set some dimensions to the container of the flash:

#viewer {
width: 100%;
height: 40%;
}

#viewer object {
width: 100%;
height: 100%;
}

You could also position the div absolutely:

body {
 height: 100%;
}

#viewer {
position: absolute;
left: 200px;
right: 0px;
top: 500px;
bottom: 40px;
}

#viewer object {
width: 100%;
height: 100%;
}

Martin.

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



[WSG] Align text vertically in a division

2005-08-09 Thread patboens
Hello All,

I am sure that you have described this issue thousand times before, but I 
cannot find the trick that will do this easily : how do you center text 
vertically in a division ?

Easy to do with tables of course, but I would like to avoid using tables at all.

euh ... as we say in French ... sorry if the question seems stupid.


Pat 

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



[WSG] Nifty Corners page shift

2005-08-09 Thread Tom Livingston

Hello list,

Although not entirely CSS related, I believe my problem is in the CSS...

If anyone has used the CSS/JS Nifty Corners I would love to hear from  
you. I am having an issue where when these corners load (seemingly last in  
the page build) they are effectng the padding and causing a noticable page  
shift, especially in IE6 (although I have seen it in Opera 8 Mac too). I  
would love to get rid of it if possible.


Off-list is fine, but others might benefit...

http://www.mlinc.com/test/nifty/index.html

Thanks!

--
Tom Livingston
Senior Multimedia Artist
Media Logic
www.mlinc.com

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] Flash 100% wide layout issues - resorting to javascript - eek!

2005-08-09 Thread David Laakso



My (unobtainable?) goal is to have the flash viewer take up all available
height and width of the viewer window. 
[..]

/ https://demo.hpa.com.au/OLM/test/apps/ies/viewer_alpha1.htm/

Brendan
   

My reply assumes I understand the problem(and I am not sure of that, or 
much else, for that matter).
I see a 2col layout with a max width set around 1150 to 1200 with a 
fixed width left column;
and the right column(viewer) set with a min-max width ( min-height). 
Use your favorite method to feed min-max to the evil one.

Regards,
David Laakso

--
David Laakso
http://www.dlaakso.com/


**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] Align text vertically in a division

2005-08-09 Thread David Laakso

[EMAIL PROTECTED] wrote:


Hello All,

I am sure that you have described this issue thousand times before, but I 
cannot find the trick that will do this easily : how do you center text 
vertically in a division ?
Easy to do with tables of course, but I would like to avoid using tables at all.
euh ... as we say in French ... sorry if the question seems stupid.
Pat

There is no such thing as a  stupid question. However, there are often 
stupid answers, and this may be one of them:

CenteringTextVertically-- css-d wiki.
http://css-discuss.incutio.com/?page=CenteringTextVertically
Regards,
David Laakso

--
David Laakso
http://www.dlaakso.com/


**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG]

2005-08-09 Thread bit
I've tested the site on my IE6, FF1.0.6, NS8.0, Mozilla1.7.5 and Opera7.23 under WinXP  Ubuntu Linux 
and there was no behavior as you described at all there.
The only problem was the footer takes twice as long to load as the rest of the page.2005/8/9, Bennie, Jack [EMAIL PROTECTED]
:









Hey guys
I'm getting some bizarre behaviour from my footer.
In IE6 when the page loads it seems to sit in the middle of the
page/content but when I mouse over the nav on the left it sorts its
self out?
In IE5, a similar problem occurs when I change the width of the browser
window: the footer moves and flashes over the middle of the page? 


http://www.wcc.nsw.gov.au/intranet_error/template_content_test.html 


Can anybody help? This has been driving me mad!
Hope a URL is ok?! 


Cheers 



Regards

Jack Bennie

Web Developer - Web Services

WorkCover NSW

Tel: 02 4321 5063

Fax: 02 9287 5063


This message, including any attached files, is intended solely for the addressee named and may contain confidential 
information. If you are not the intended recipient, please delete it and notify the sender. Any views expressed in this message are those of the individual sender and are not necessarily the views of WorkCover NSW.



-- Software is like Sex - it's better when it's free ... (Linus Torvalds)


[WSG] FireFox DOM issue.

2005-08-09 Thread Buddy Quaid
Hi everyone,

I'm new to this group and this is my first message.

I am porting over a rich text editor that currently only works in IE.

I have done tons of search about getting the selected text in a page.
I'm very close...for instance...you can now see the formatting buttons
and also I have the correct code to get it to know what is selected and
if you click 'bold' it will put the bold tags around it in a text box.

I want it so that if NOTHING is selected and you hit bold it will give
you an alert box for the text that you would like bolded. Then plance
that text with the bold tags around it. My problem is I can't get the
right code of the DOM to test correctly for a selection being made in
the text box.

I am currently trying

Str = window.getSelection;
If (str.isCollapsed) {
   if true do this;
}else{
do this;
}

I put alert(str.isCollapsed) in there to trace what is going on but it's
ALWAYS true.

I'm wondering if it's because the text is in a textarea and not just on
the page?

Like I said, I have been getting it to work without sniffing to see if a
selection has actually been made to put the tags around the text but I
can't for the life of me sniff it out through code.

I've also tried 

Str = window.getSelection;
If(str.toString().length  0) to no avail.

Thanks in advance!

Buddy

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] firefox for OS9?

2005-08-09 Thread Dejan Kozina

This page should be it:
http://browser.netscape.com/ns8/download/archive70x.jsp

Kay Smoljak wrote:

On 8/6/05, Drake, Ted C. [EMAIL PROTECTED] wrote:


Sorry for a possibly off-topic post.  We have a client on our intranet that
needs to look at our site on OS9.2.  I couldn't find information on the
Firefox web site about compatibility with this platform. Does anyone know
where I could send this person for more advice?



I had a client with OS9 who were using Netscape 4 (!), and I got them
to upgrade to Netscape 7. The later builds don't support OS9, but
earlier ones do, so if you look around you should be able to find one.



--
Dejan Kozina
Dolina 346 (TS) - I-34018 Italy
tel./fax: +39 040 228 436 - cell.: +39 348 7355 225
http://www.kozina.com/  - e-mail: [EMAIL PROTECTED]
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] FireFox DOM issue.

2005-08-09 Thread Patrick Ryan
In firefox, I have had success with selectionStart and selectionEnd

if you have a form:
form name=a
   textarea name=b/textarea

you can access the start and end points of the highlighted text (or
get the position of the cursor in the text) with:

startPoint = document.a.b.selectionStart;
endPoint = document.a.b.selectionEnd;

This won't work in IE (where I tend to use document.selection) so you
have to do some kind of functionality test like:

if(document.selection){ 
//do IE stuff
}else if(myField.selectionStart)
//do mozilla stuff



Hope this helps

-- 
Patrick
www.agavegroup.com



On 8/9/05, Buddy Quaid [EMAIL PROTECTED] wrote:
 Hi everyone,
 
 I'm new to this group and this is my first message.
 
 I am porting over a rich text editor that currently only works in IE.
 
 I have done tons of search about getting the selected text in a page.
 I'm very close...for instance...you can now see the formatting buttons
 and also I have the correct code to get it to know what is selected and
 if you click 'bold' it will put the bold tags around it in a text box.
 
 I want it so that if NOTHING is selected and you hit bold it will give
 you an alert box for the text that you would like bolded. Then plance
 that text with the bold tags around it. My problem is I can't get the
 right code of the DOM to test correctly for a selection being made in
 the text box.
 
 I am currently trying
 
 Str = window.getSelection;
 If (str.isCollapsed) {
if true do this;
 }else{
 do this;
 }
 
 I put alert(str.isCollapsed) in there to trace what is going on but it's
 ALWAYS true.
 
 I'm wondering if it's because the text is in a textarea and not just on
 the page?
 
 Like I said, I have been getting it to work without sniffing to see if a
 selection has actually been made to put the tags around the text but I
 can't for the life of me sniff it out through code.
 
 I've also tried
 
 Str = window.getSelection;
 If(str.toString().length  0) to no avail.
 
 Thanks in advance!
 
 Buddy
 
 **
 The discussion list for  http://webstandardsgroup.org/
 
  See http://webstandardsgroup.org/mail/guidelines.cfm
  for some hints on posting to the list  getting help
 **
 

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



[WSG] browser v.5 woes

2005-08-09 Thread Bruce Gilbert
I just checked a site I am working on in both PC and Mac v. 5.0 and
the page is looking pretty crappy in those browsers. I am most
interested in getting things looiking better in IE PC 5.0. The main
probs are top menu scrunched together with side borders and h1 title
page  div not enough padding . Any hacks I can apply specifically to
the 5's is greatly appreciative.

URL: http://www.wealthdevelopmentmortgage.com/Bruce/Company.htm
CSS:http://www.wealthdevelopmentmortgage.com/Bruce/WDM.css

-- 
::Bruce::
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



RE: [WSG] Align text vertically in a division

2005-08-09 Thread Rachel Radford
Hi everyone,
I'm replying to this because I am also stuck on the same issue. 

I have horizontal navigation that is floated (son of suckerfish style) and
that has relative widths for scalable fonts. Some of the navigation text
runs onto two lines, and some of them are short enough to be on one line. So
problem is the one-liners are at the top of the navigation item and I would
like them to be vertically centered. Can't use line-height trick because
then the two liner nav items get massive line spacing!  Menu is generated
dynamically from CMS database so can't muck with the source code in any way.

Is there any other reliable way of mimicking the old-school valign for table
layouts? I realy don't want to use hacky stuff or any javascript stuff
cause already there is so much hacks just for IE!!!

Rach

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of David Laakso
Sent: Wednesday, 10 August 2005 3:16 a.m.
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Align text vertically in a division

[EMAIL PROTECTED] wrote:

Hello All,

I am sure that you have described this issue thousand times before, but I
cannot find the trick that will do this easily : how do you center text
vertically in a division ?
Easy to do with tables of course, but I would like to avoid using tables at
all.
euh ... as we say in French ... sorry if the question seems stupid.
Pat

There is no such thing as a  stupid question. However, there are often 
stupid answers, and this may be one of them:
CenteringTextVertically-- css-d wiki.
http://css-discuss.incutio.com/?page=CenteringTextVertically
Regards,
David Laakso

-- 
David Laakso
http://www.dlaakso.com/


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Display: markerRE: [WSG] Align text vertically in a division

2005-08-09 Thread Drake, Ted C.
I wonder if the display:markers would be useful for this?
Has anyone played around with it before?

From what I understand, the display marker can be best understood when
looking at a list item. The bullet is the marker and the list information is
the block it is associated with.  Could the text you are using be given
display:marker and then given a position of top:50%? 
I haven't messed with this property and I don't know what the support is
like. I can imagine a certain browser has no idea what I'm talking about.

http://www.w3.org/TR/REC-CSS2/generate.html#markers 

Ted

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Rachel Radford
Sent: Tuesday, August 09, 2005 3:13 PM
To: wsg@webstandardsgroup.org
Subject: RE: [WSG] Align text vertically in a division

Hi everyone,
I'm replying to this because I am also stuck on the same issue. 

I have horizontal navigation that is floated (son of suckerfish style) and
that has relative widths for scalable fonts. Some of the navigation text
runs onto two lines, and some of them are short enough to be on one line. So
problem is the one-liners are at the top of the navigation item and I would
like them to be vertically centered. Can't use line-height trick because
then the two liner nav items get massive line spacing!  Menu is generated
dynamically from CMS database so can't muck with the source code in any way.

Is there any other reliable way of mimicking the old-school valign for table
layouts? I realy don't want to use hacky stuff or any javascript stuff
cause already there is so much hacks just for IE!!!

Rach

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of David Laakso
Sent: Wednesday, 10 August 2005 3:16 a.m.
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Align text vertically in a division

[EMAIL PROTECTED] wrote:

Hello All,

I am sure that you have described this issue thousand times before, but I
cannot find the trick that will do this easily : how do you center text
vertically in a division ?
Easy to do with tables of course, but I would like to avoid using tables at
all.
euh ... as we say in French ... sorry if the question seems stupid.
Pat

There is no such thing as a  stupid question. However, there are often 
stupid answers, and this may be one of them:
CenteringTextVertically-- css-d wiki.
http://css-discuss.incutio.com/?page=CenteringTextVertically
Regards,
David Laakso

-- 
David Laakso
http://www.dlaakso.com/


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



[WSG] bi-lingual page?

2005-08-09 Thread Barry Beattie
hi all

this is the first time I've done anything like this but I'm wondering what it 
takes to display two languages (and therefore two charsets) on the same page? - 
English and German

the content will be a side-by-side translation of each language

thanx
barry.b

PS: no doubt I'll have more questions later but I'm starting from the display 
and working backwards  to the content storage (ensuring the database can 
support unicode, etc) and then the content capture (a form in either English 
and German)
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] bi-lingual page?

2005-08-09 Thread Nick Gleitzman

On 10 Aug 2005, at 8:55 AM, Barry Beattie wrote:


hi all

this is the first time I've done anything like this but I'm wondering 
what it takes to display two languages (and therefore two charsets) on 
the same page? - English and German


the content will be a side-by-side translation of each language

thanx
barry.b


Barry, search the archive for this list - there was this exact question 
a month or two ago, and answers on how to use inline charsets for each 
language - I think what you need is there.


HTH

N
___
Omnivision. Websight.
http://www.omnivision.com.au/

**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



RE: [WSG] bi-lingual page?

2005-08-09 Thread Craig Rippon
You should have been at the Brisbane meeting last night! Where this very
thing was spoken about. Went right over my head but John Bates gave an
excellent talk on the topic. His website is at codeHQ.net. Check it out,
his talk should be up there as well as a heap of other stuff


CodeHQ.net/blog/


Craig Rippon
Brisbane, Australia

-Original Message-
From: Barry Beattie [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 10 August 2005 8:56 AM
To: wsg@webstandardsgroup.org
Subject: [WSG] bi-lingual page?

hi all

this is the first time I've done anything like this but I'm wondering what
it takes to display two languages (and therefore two charsets) on the same
page? - English and German

the content will be a side-by-side translation of each language

thanx
barry.b

PS: no doubt I'll have more questions later but I'm starting from the
display and working backwards  to the content storage (ensuring the database
can support unicode, etc) and then the content capture (a form in either
English and German)
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**





**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] standards form?

2005-08-09 Thread Serdar Kılıç
Here's a tip for registration forms. Many times I have seen forms that
allow you to enter the Country but then provide a list of *US* only
states is crazy, please don't do this :)On 07/08/05, Svip [EMAIL PROTECTED] wrote:
I wouldn't suggest doing a single multi-porpuse form, as it wouldsimply just confuse people using the website.Split them up. Though I am not quite sure what your question is.Svip - 
sviip.dk-- Cheers,Serdar Kilichttp://weblog.kilic.net/


Re: [WSG] bi-lingual page?

2005-08-09 Thread Jan Brasna
English and German are both Latin1 languages, so no problem here. To be 
100% safe use UTF8.


--
Jan Brasna aka JohnyB :: www.alphanumeric.cz | www.janbrasna.com
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



RE: [WSG] Align text vertically in a division

2005-08-09 Thread Scott Swabey \(Lafinboy Productions\)
 Is there any other reliable way of mimicking the old-school 
 valign for table layouts?

I use a combination of display:table for those UA's that handle it, and a
relative/absolute positioning hack for those that don't:

.outer {
border: 1px solid #000;
display: table;
width: 200px;
height: 200px;
overflow: hidden;
}
.inner {
display: table-cell;
vertical-align: middle;
text-align: center;
_width: 100%;
_position: absolute;
_top: 50%;
}
.inner span {
_position: relative;
_top: -50%;
}

div class=outer
div class=inner
spansome test text herespan
/div
/div

Regards

Scott Swabey
Lafinboy Productions
www.lafinboy.com


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Rachel Radford
 Sent: Wednesday, 10 August 2005 8:13 AM
 To: wsg@webstandardsgroup.org
 Subject: RE: [WSG] Align text vertically in a division
 
 
 Hi everyone,
 I'm replying to this because I am also stuck on the same issue. 
 
 I have horizontal navigation that is floated (son of 
 suckerfish style) and that has relative widths for scalable 
 fonts. Some of the navigation text runs onto two lines, and 
 some of them are short enough to be on one line. So problem 
 is the one-liners are at the top of the navigation item and I 
 would like them to be vertically centered. Can't use 
 line-height trick because then the two liner nav items get 
 massive line spacing!  Menu is generated dynamically from CMS 
 database so can't muck with the source code in any way.
 
 I realy don't want to use hacky 
 stuff or any javascript stuff cause already there is so much 
 hacks just for IE!!!
 
 Rach
 
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]
 On Behalf Of David Laakso
 Sent: Wednesday, 10 August 2005 3:16 a.m.
 To: wsg@webstandardsgroup.org
 Subject: Re: [WSG] Align text vertically in a division
 
 [EMAIL PROTECTED] wrote:
 
 Hello All,
 
 I am sure that you have described this issue thousand times 
 before, but 
 I
 cannot find the trick that will do this easily : how do you 
 center text vertically in a division ?
 Easy to do with tables of course, but I would like to avoid using 
 tables at
 all.
 euh ... as we say in French ... sorry if the question seems 
 stupid. Pat
 
 There is no such thing as a  stupid question. However, there 
 are often 
 stupid answers, and this may be one of them:
 CenteringTextVertically-- css-d wiki. 
 http://css-discuss.incutio.com/?page=CenteringTextVertically
 Regards,
 David Laakso
 
 -- 
 David Laakso
 http://www.dlaakso.com/
 
 
 **
 The discussion list for  http://webstandardsgroup.org/
 
  See http://webstandardsgroup.org/mail/guidelines.cfm
  for some hints on posting to the list  getting help
 **
 
 
 **
 The discussion list for  http://webstandardsgroup.org/
 
  See http://webstandardsgroup.org/mail/guidelines.cfm
  for some hints on posting to the list  getting help
 **
 
 

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] bi-lingual page?

2005-08-09 Thread Lea de Groot
On Wed, 10 Aug 2005 08:55:48 +1000, Barry Beattie wrote:
 this is the first time I've done anything like this but I'm wondering 
 what it takes to display two languages (and therefore two charsets) 
 on the same page? - English and German

The lang attibute will probably be useful - 
http://www.w3.org/TR/REC-html40/struct/dirlang.html
eg 
html lang=en
...
divthe english bits/div
div lang=dethe german bits/div
...

ie define the default language from the page then define the alternate 
language for one section of the page.
Bit difficult when your users are split 50-50, but you pretty much need 
to pick a core language for the page :(

HIH
Lea
~ done from memory - german is de, right?
-- 
Lea de Groot
Elysian Systems - http://elysiansystems.com/
Brisbane, Australia
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] bi-lingual page?

2005-08-09 Thread Anders Nawroth


Barry Beattie skrev:


this is the first time I've done anything like this but I'm wondering what it 
takes to display two languages (and therefore two charsets)

There can be only one charset on a webpage, but with unicode/utf-8 you 
still can have content in different languages on the same page.


/AndersN
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] Proper IE Hacks

2005-08-09 Thread Stuart Sherwood

Hi All,
The tips and advice here is really fantastic. Highly appreciated.
I have a problem with a submenu that works by altering the z-index. I 
have used the following hack which I'm not entirely happy with. Can 
someone suggest something better?


#submenu a:hover {
   z-index: 20;
   z-index: expression(body.z-index 20); /* invalid css: IE fix */
}

Regards,
Stuart Sherwood
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



RE: [WSG] Proper IE Hacks

2005-08-09 Thread Buddy Quaid
Yes...

I know what your talking about. 

Here is the javascript to get it working if you have a element with ID
of nav

startList = function() {
if (document.alldocument.getElementById) {
navRoot = document.getElementById(nav);
for (i=0; inavRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName==LI) {
node.onmouseover=function() {
this.className+= over;
  }
  node.onmouseout=function() {
  this.className=this.className.replace
( over, );
   }
   }
  }
 }
}
window.onload=startList;

This comes from http://www.alistapart.com/articles/horizdropdowns/

Read that.

Buddy Quaid http://www.tangerinefiles.com

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Stuart Sherwood
 Sent: Tuesday, August 09, 2005 8:18 PM
 To: wsg@webstandardsgroup.org
 Subject: Re: [WSG] Proper IE Hacks
 
 
 Hi All,
 The tips and advice here is really fantastic. Highly 
 appreciated. I have a problem with a submenu that works by 
 altering the z-index. I 
 have used the following hack which I'm not entirely happy with. Can 
 someone suggest something better?
 
 #submenu a:hover {
 z-index: 20;
 z-index: expression(body.z-index 20); /* invalid css: IE fix */ }
 
 Regards,
 Stuart Sherwood
 **
 The discussion list for  http://webstandardsgroup.org/
 
  See http://webstandardsgroup.org/mail/guidelines.cfm
  for some hints on posting to the list  getting help
 **
 
 
 

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Proper IE Hacks

2005-08-09 Thread David Laakso

Stuart Sherwood wrote:


Hi All,
The tips and advice here is really fantastic. Highly appreciated.
I have a problem with a submenu that works by altering the z-index. I 
have used the following hack which I'm not entirely happy with. Can 
someone suggest something better?


#submenu a:hover {
   z-index: 20;
   z-index: expression(body.z-index 20); /* invalid css: IE fix */
}

Regards,
Stuart Sherwood

I have no idea how to make it better. If it works as intended, and 
your goal is to hide it from the validator and respectable browsers, you 
might use 'conditional comments.'

!--[if lte IE 6]
style type=text/css
z-index: expression(body.z-index 20);
/style
![endif]--

Regards,
David Laakso

--
David Laakso
http://www.dlaakso.com/


**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



RE: [WSG] Newbie Questions: East-Asian Character Sets and Marking-up Poetry

2005-08-09 Thread Joshua Street
On Tue, 2005-08-09 at 08:56 -0400, John Foliot - WATS.ca wrote:
 Kwok Ting Lee wrote:
  This is, I guess, one of the first times I've written anything here,
  but I've run into a bit of a dilemma and was hoping for some advice:
  
  1.  I have a number of analyses of poems I am planning on posting to
  my weblog over the next few months, however, I'm a bit stumped as to
  what mark-up would be most semantically correct  (The poems are quoted
  from another source, so for the time being I was thinking of using a
  blockquote)[...]

I think I missed the start of this thread, but we discussed this on here
sometime last year... I posted relevant bits on my blog at the time.
http://www.joahua.com/blog/2004/10/24/the-indentation-problem

p class=stanza
spanJust the...br /
As he.../span
spanSupporting...br /
By a/span
/p

Seemed to be the best we could come up with.

HTH.

Kind Regards,
Joshua Street

base10solutions
Website:
http://www.base10solutions.com.au/
Phone: (02) 9898-0060  Fax: (02)
8572-6021
Mobile: 0425 808 469

Multimedia  Development  Agency



E-mails and any attachments sent from base10solutions are to be regarded
as confidential. Please do not distribute or publish any of the contents
of this e-mail without the sender’s consent. If you have received this
e-mail in error, please notify the sender by replying to the e-mail, and
then delete the message without making copies or using it in any way.

Although base10solutions takes precautions to ensure that e-mail sent
from our accounts are free of viruses, we encourage recipients to
undertake their own virus scan on each e-mail before opening, as
base10solutions accepts no responsibility for loss or damage caused by
the contents of this e-mail. 


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



[WSG] IE min-width problem

2005-08-09 Thread Tania Morris



Hi Folks,

I've been working on a site which has three columns 
which unfortunately need full height backgrounds, some have rounded corners 
and... well it's been tricky but it's all working ok... except that due to the 
fact that IE doesn't accept min-width, it becomes quick ugly in IE when the 
window is resized...

You can look at the beta site at http://dev.papercutmedia.com/perthjazz/


The CSS isn't to messy, but the XHTML does contain 
a few "spare" divs to enable the various background pics to get the "look" right 
( boy am I looking forward to CSS3 with multiple 
background images for single elements!) and I'm getting the feeling I've 
looked at it too long and am not seeingsomething obvious...

Any pearls of wisdom that can be offered would be 
graciously recieved.

Tania


Re: [WSG] IE min-width problem

2005-08-09 Thread Al Sparber

Tania Morris wrote:

Hi Folks,

I've been working on a site which has three columns which
unfortunately need full height backgrounds, some have rounded 
corners

and... well it's been tricky but it's all working ok... except that
due to the fact that IE doesn't accept min-width,


Any pearls of wisdom that can be offered would be graciously 
recieved.


Hi Tania,

We often use CSS expressions deployed inside conditional comments for 
such tasks as min-width in IE. See if this page might be of help for 
you:


http://www.projectseven.com/tutorials/accessibility/pop_integrated/pmmsite/

The comment is embedded just before the closing head tag and is part 
of the #wrapper rule.


HTH.

Al Sparber
PVII
http://www.projectseven.com

Designing with CSS is sometimes like barreling down a crumbling 
mountain road at 90 miles per hour secure in the knowledge that 
repairs are scheduled for next Tuesday.



**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] IE min-width problem

2005-08-09 Thread Al Sparber

Tania Morris wrote:

You can look at the beta site at
http://dev.papercutmedia.com/perthjazz/ 


BTW - you have a little script error:

Error: missing } in compound statement
Source File: http://dev.papercutmedia.com/perthjazz/
Line: 120, Column: 40
Source Code:
if(typeof sIFR == function){  sIFR(); 


--
Al
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**