Hi all,

I'm working on a layout in which I need to specify width, margins, in fact, 
almost every measure, in 'em's. Great, I've chosen to go this route, but have 
quickly run into problems, namely rounding errors, predominantly in IE.

It turns out that Aem + Bem != (A+B)em - at least, at certain font-sizes - 
which is incredibly frustrating. Does anyone have a good way of working around 
this and/or an idea of the scope of the problem?

I've put up an example at http://www.fiveminuteargument.com/width-in-ems . In 
my version of IE7, 90% and 70% suffer from the problem.

I have a sinking feeling the answers are going to be along the lines of "Use 
4.999em instead of 5em" but I'd like to avoid that, if at all possible. I guess 
I just want some sympathy, really :)

Thanks,

- Bobby


      
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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