Reply to Re: Using percentage widths

Your name:

Reply:


Posted by K A Nuttall on 12/23/06 10:09

Jim Moe wrote:

> You mentioned setting margin/padding in ems. To further reduce
> the
> wrapping problem, set the horizontal margin/padding with
> percentages as well. For an 800px wide viewport and 16px text, 2%
> corresponds to 1em. Then your only problem will be borders.

Yes, I'm not too happy with the results of using side margins/padding
in ems, so far. It means that I have to nest DIVs to get a consistent
width, as using ems for typefaces of various sizes creates various
widths!

So, all in all, a fairly unpleasant foray into fluid layouts, so far. I
think it's coming back to me now: one of the reasons why I adopted
fixed-width layouts in the first place.

However, I'll stick with it a bit longer. I'm not keen on specifying
widths like 24.99%, and worrying about ragged right-edges, nor going
back to absolutely positioned divs. I like to keep things simple.

Season's Greetings to all.

--
K A Nuttall
www.yammer.co.uk
Re-type the e-mail address how it sounds, remove .invalid

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация