Sent by Jørgen_Farum_Jensen on 12 October 2005 10:10
Derek de Jong wrote:
> Internet Explorer is including the margin *inside the box width*, while
This is what I did'nt know.
> W3C-spec browsers (rightly) are not. This is why you're getting
> different results. Carmen would be correct if *both* boxes had a 2%
> margin, but because only one does (#colright), so this should sum to
> 100%. The escape character is handy What you can do is add:
> width: 51%;
> margin: 2%;
> w\idth: 49%;
>
Thanks for this and other suggestions. I know about the various hacks (or
IE CSS filters to use a nicer phrase), but of course you have to identify
what behavior it is that must be corrected.
Best regards
Jørgen Farum Jensen
www.webdesign101.dk
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/