Padding messing up (css)

I hope there’s a quick answer for this…

I use Avant browser which is an IE-based browser, and I often forget to look things over in Firefox etc. How is padding used in Firefox? Because when I set padding, it works the way it should in IE and Avant, but in firefox the box, with the padding applied to it, expands. So if I set padding-right to 4px, the box expands 4 pixels. Anyone know what the problem is? :-/

It doesn’t happen to everything, but if I have text on the very right of a box, it expands. It works normal if the text in centered or to the left.

oh… I though that said pudding messing up, but no pictures, im out:)

read up on the box model problem.