|
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]
|