Been googling and reviewing the spec for a while and haven't found an
answer to this.

Why does Opera (from 5 to 9) is rounding down my decimal units ? If I
say 99.9%, for Opera it's exactly equal to 99%.

For example, the following HTML:

<div id="div1" style="width: 99%;">width: 99%</div>
<div id="div2" style="width: 99.9%;">width: 99.9%</div>
<div id="div3" style="width: 100%;">width: 100%</div>

In IE and Firefox, #div2 is almost as wide as #div3.
In Opera, #div2 is exactly as wide as #div1.

The spec says "a length value is a <number> (with or without a decimal
point)", and IE and FF behave as expected. Why is Opera doing this?
Any workarounds?

Not finding anything on google makes me feel maybe I'm missing
something trivial...?

Thanks!
- Manuel
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to