IE and Firefox display things slightly different:
- IE makes characters in some fonts one pixel wider than Firefox does.
- Firefox counts the surrounding styles (margin, border, padding) as being OUTSIDE the declared width or height of some box objects. IE stuffs those surrounding styles INSIDE the declared width or height of the box object. So Firefox renders the object in a largfer space.
To fix this, nest two box objects, one with the declared size, and the other with the surrounding styles.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
Offline 3,314 posts
since Jan 2007