On 10/5/05, David Dorward <[EMAIL PROTECTED]> wrote:
> Why do you have display: inline on the orange element? Floating it
> turns it straight back into a block! :)

Floating an element and giving it a margin in the same direction
(e.g., float right with right margin or float left with left margin)
triggers a bug in IE which will double the size of the rendered
margin. Setting 'display: inline' causes IE to calculate the margin
correctly, while not affecting anything else.

--
"May the forces of evil become confused on the way to your house."
  -- George Carlin
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to