Top of CSS file to reset everything

October 3, 2008

Every browser has different margin and padding values that are set as default. Thats why we prefer to reset all values before building up a site. Most of people add, * {margin:0; padding:0; border:0} to the top of their CSS file to reset everything. But do you really thing that it is enough to reset everything? Use following code block on the top of your CSS file and see what else you’ve missed to reset. a:link, a, a.visited { text-decoration:none; } body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form, fieldset,input,textarea,blockquote,th,td,p... [Read the full story]