On 06/05/18 17:17 (GMT-0400) Tony Watkins apparently typed: > On 5/18/06, Mark Fellowes <[EMAIL PROTECTED]> wrote:
>>> I know that with elastic layouts you set the element widths >>> using ems. What about margins , would those also be in ems ? >> That or percentages, whichever looks best to you at various resolutions. > Hmm. Since ems is a measure of height for a given font, wouldn't percent or > pixels be a better and more accurate measurement for both margins and > width/height? There are different kinds of accuracies. If you want total fluidity, you can't use px. % can give unexpected results when the viewport size and text size aren't what you expect. Em can work if you're careful, particularly if you simply stop thinking in px. When the default font size is 16px, 1px is equal to .0625em. When you set a 10px margin or padding as .625em, you keep the same proportion between text size and margin/padding size as zoom or default font size varies, maintaining a constant proportion between components. As example, both http://mrmazda.no-ip.com/SS/bbcSS.html and http://mrmazda.no-ip.com/indexx.html are entirely free from % and px sizing. -- "All have sinned & fall short of the glory of God." Romans 3:23 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/