CSS/Reset margin-padding

From Common Code

< CSS
Jump to: navigation, search

You can RESET the default stylesheet by putting this first style in your CSS file:

* {margin:0; padding:0;}

This will reset all the padding and margins for all elements, thus letting you start with a clean sheet without having to deal with the default margins & paddings assigned by browsers. This would be especially useful for making websites look alike in both FF and IE...