Hi,
I've noticed a different render behaviour between FF and IE, and now I'm not
sure how to handle this:
<html>
<body>
<div style="width: 100%; padding: 30px; background-color:
#ffd;">Test</div>
</body>
</html>
IE subtracts margins, borders and padding from width whereas FF adds them
up. Result: The above HTML produces a scrollbar in FF.
The CSS spec says "The box width is given by the sum of the left and right
margins, border, and padding, and the content width." - IE seems to
interpret the width parameter as "box width" whereas FF interprets it as
"content width".
Actually, I prefer the IE rendering, because I don't know how to define a
full width coloured block following FF. Any suggestions?
Regards,
Axel Dahmen