This is a case of different box models being used in different browsers. Try specifying a doctype, it may cure a lot of problems. I personally use XHTML Strict, both IE and FF use the same box model for this doctype.
Read more about box models here:
http://www.w3.org/TR/REC-CSS2/box.html
Julio