Posted by Jim Moe on 12/22/06 00:48
K A Nuttall wrote:
>
> Okay. I pared down the page to the relevant code, and posted it here:
> www.yammer.co.uk/untitled.html
>
IE usually messes up when widths add up to 100%. I have had cases where
99.9% was a solution. Sometimes when slowly narrowing the viewport, IE
will wrap and unwrap blocks several times. Creative math.
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.
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
[Back to original message]
|