From: Derek de Jong <[EMAIL PROTECTED]>
>Internet Explorer is including the margin *inside the box width*, while
>W3C-spec browsers (rightly) are not.
No 'current' version of IE/Win that I know of includes margins *inside the box
width* as you have stated. IE5.x/Win browsers, and IE6 in quirks mode use their
broken box model and include borders and padding within a stated box width, but
the margins still extend correctly.
> The escape character is handy What you can do is add:
>width: 51%;
>margin: 2%;
>w\idth: 49%;
>
>And IE will not parse the "w\idth" attribute, while FF, Saf, Opera, etc
>will,
First, it's a width property, not attribute. The width attribute is used in
HTML pages to specifiy widths for images, for example.
IE5.x/Win browsers do not understand the escape character, but IE6 does,
whether in standard or quirks mode. The suggested filter is a useful one, when
you need to give IE5.x/Win browsers a different value than other browsers for
the property you are using, but it will not filter for IE6.
For the original poster, Georg's solution is a good one.
Cheers,
~holly
______________________________________________________________________
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/