* {margin: 0;padding: 0;}
*:focus {outline: none}
These two lines will remove border outlines in firefox on clicked links and the alignment variations between Safari, IE6 - IE7 and Firefox.
The second line of code solves almost all alignment problems between different browsers (BOWSERS). If you use margin-top:-20px or padding-top:20px then you will need this to keep consistancy. HTML elements have automatic margins and padding set by the browser which is why they can easily have different spacing from browser to browser. This is why is is good to use a reset.css file to zero out all automatic hidden padding and spacing.

















One Comment
Melissa
Great, I already use the focus{outline:none} fix, but I’m going to implement the first one!
Post a Comment