Avoiding IE hacks for fixed width divs with borders and padding
Posted in Simple Thoughts / The Industry
November 30th, 2009
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.



ShareThis