Browser Compatibility

CSS Browser Compatibility Improvement Tip

June 6, 2009

To avoid inconsistencies across different browsers, always use the following CSS code unless you specify a different value for padding and margin. Some browsers do not set these properties to zero by default. html { padding: 0px; margin: 0px; } body { padding: 0px; margin: 0px; }