Markus Ernst wrote:

> I believe to have read that browser support for border-box is not
> quite perfect (IE8 seems to have problems). I'd personnally change the
> padding to %, so you can sum up to exactly 100%, such as:
> 
> .container1, .container2
>   {
>     width:45%;
>     padding:2%
>   }
> .container1
>   {
>     margin-right:2%
>   }

Is there definite evidence that browser arithmetic is this precise ?
Might it not be better to force the sum of the dimensions to be
just less than 100%, in order to allow for possible rounding errors
in converting from percent into internal units ?  Certainly in my
own designs I always aim for a sum of the order of not more
than 99.8%.

Philip Taylor

______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to