Possible Duplicate:
Are the decimal places in a CSS width respected?
I have a navigation (li
) which needs a pixel value to fit within an ul
(has display:block
).
So I use width:163.4px
for the li
's. This does work fine in Firefox (v13.0.1) but in Safari, Chrome and Opera the width is too short. (The width is there like 163px... So I guess those browsers rounding down the value.)
Explain me why only Firefox does support floating point numbers for this case?