Avoiding IE hacks for fixed width divs with borders and padding

IE doesn’t play well with borders and padding. To avoid having to hack it, use nested divs. One outer div to set the fixed width, and inner div(s) to set border and padding.

Advertisements