Sent by Bob Easton on 15 May 2005 11:11
Leo Smith wrote:
> When using EM values for font sizes, it seems optimal to then use EM
> values for any margin-top, padding-top, margin-bottom, or padding-bottom
> values for the content elements (p, ul, ol, etc). This way, when text is
> resized, the vertical distance between content elements increases
> proportionately.
>
> But, what about right and left margins and padding. Is it also optimal
> to use EM values for those as well, so that any horizontal spacing also
> increases proportionately with resized text?
>
> Similarly, would it be better to use EM values for the widths of fluid
> column divs, rather than percentage values?
I tend to use EM units for all of the margin and padding attributes,
including left and right. I do this for exactly the reason you state in
the second paragraph.
For columns in a fluid layout, it just seems easier to visualize when
working in percentages.
--
Bob Easton
Accessibility Matters: http://access-matters.com
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/