On 18/01/2008 22:12, Tom Livingston wrote:
>> 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
>> while designing. Also, when you design using the user's default as the base
>> (e.g. body, td & p @ font-size: 100%), he won't need to change it.
>> --
> 
> Most designers, and more importantly clients, don't want their body
> copy at 16pt. So I am always setting a font-size on p's, etc. to .8 or
> .85ems. Should someone who NEEDS larger text scale up these pages, the
> layout may break. However, you are correct that proper use of ems
> should prevent it from breaking in the first place.

With the layout I've got: fixed pixel width, evenly sized tabs 
spread across this pixel width, using ems for the width of each tab 
is not an option: as soon as the font is resized, or looked at on a 
machine set at over 96dpi, the tabs would wrap, breaking the layout.

That is why I have used percentage widths and not ems, and why I'll 
have to live with Opera's rounding, unless I target it with 
display:table etc. Oddly, Opera displays a 0.2% margin correctly, 
but displays a 9.8% width as though it were 9%.



-- 
http://antanova.blogspot.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to