Re: [css-d] percentage widths don't add up to 100 in Safari and Opera

2008-01-18 Thread Tom Livingston
On 1/16/08, Felix Miata [EMAIL PROTECTED] wrote: On 2008/01/16 16:06 (GMT) Jason Crosse apparently typed: Using ems would also mean that the layout would break when the user changes font size. Properly using ems to size things is precisely how you prevent layouts from breaking when

[css-d] percentage widths don't add up to 100 in Safari and Opera

2008-01-16 Thread Jason Crosse
I'm trying to create a horizontal nav. I have a container div specified in pixels, position relative. Its LIs are floated left. There are ten LIs, each with a width of 9.8%, and a margin-right of 0.2%. In IE6 and Firefox, this adds up to a nice full-width nav bar, but in Safari (on PC,

Re: [css-d] percentage widths don't add up to 100 in Safari and Opera

2008-01-16 Thread David Laakso
Jason Crosse wrote: I'm trying to create a horizontal nav. I have a container div specified in pixels, position relative. Its LIs are floated left. There are ten LIs, each with a width of 9.8%, and a margin-right of 0.2%. In IE6 and Firefox, this adds up to a nice full-width nav bar, but

Re: [css-d] percentage widths don't add up to 100 in Safari and Opera

2008-01-16 Thread Jason Crosse
On 16/01/2008 15:58, David Laakso wrote: Don't know about Safari but Opera rounds decimals. Have you tried using em's? Best, ~dL The trouble with that is, although the outer container is of a fixed width, I'd like the contents to remain flexible, in case a new tab is added, or one

Re: [css-d] percentage widths don't add up to 100 in Safari and Opera

2008-01-16 Thread fantasai
Jason Crosse wrote: On 16/01/2008 15:58, David Laakso wrote: Don't know about Safari but Opera rounds decimals. Have you tried using em's? The trouble with that is, although the outer container is of a fixed width, I'd like the contents to remain flexible, in case a new tab is added, or

Re: [css-d] percentage widths don't add up to 100 in Safari and Opera

2008-01-16 Thread Felix Miata
On 2008/01/16 16:06 (GMT) Jason Crosse apparently typed: Using ems would also mean that the layout would break when the user changes font size. Properly using ems to size things is precisely how you prevent layouts from breaking when actually used font size differs from the font size you used