Why don't changes to my padding affect the width of an element in IE?

Frisky666

New Member
Firefox and Chrome are handling padding in a different way from IE. For Firefox and Chrome, when I use padding, this is added to the total width of the div. For IE, padding values are ignored so the CSS doesn't work uniformly. This seems to be a new development because they've always worked the same. EG\[code\]#header{ width:280; padding-left:10px; padding-right:10px;}\[/code\]This gives a total of 300px in Firefox and Chrome but the width doesn't change in IE.How do I handle this issue?
 
Back
Top