Forum Moderators: not2easy
I created a style that is 150px wide with 10px of padding all around, and the background color is Red.
When I view it in Internet Explorer, the red box is exactly 150 pixels wide. When I view it in Mozilla, the red box is 170 pixels wide.
What is causing this?
You have encountered the infamous IE Box Model problem.. IE is wrong Moz is correct
the specifics take a bit of time to understand...but it's been explained in this post [webmasterworld.com] and there are various workarounds discussed there too....
Suzy
For more information about how height and width works, consult this thread [webmasterworld.com] (message 38)