Archive for April 8, 2009

Box model bug in IE, Firefox

Box model bug in IE, Firefox

Display the below versions of the file in IE, Firefox and check the difference in display. Note the css styling used in Sample A and Sample B HTML coding.

When defining the width of the “div” layer it is essential that you need to consider the padding, margin, border size given to each element. As different browser versions have different ways of interpreting these values we need to cascade the width from the parent element to child layer if we were destined to use width for restricting the boundary of the element. (more…)

April 8, 2009 at 6:40 pm Leave a comment


April 2009
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
27282930  

Blog Stats

  • 26,383 hits