CSS Reset – Including HTML5 CSS Reset
I finally managed to put together some CSS Reset Rules, using a combination from Eric Meyer and random custom styles I’ve found useful:
/* RESET *******************************************************/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td
{ margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; }
a {outline: none; }
a img,:link img,:visited img { border:none }
:link,:visited { text-decoration:none }
:focus { outline: 0; }
blockquote, q {quotes: “” “”;}
q:before, q:after {content: ”;}
abbr, acronym { border: 0;}
/* HTML5 */
section, article, aside, header, footer, nav, dialog, figure {display:block; padding: 0; margin: 0;}
time {display: inline; }
/************************************************* END RESET */
/* CUSTOM STYLES *************************************/
.hidden { display: none;}
.b {font-weight: bold;}
.fl {float: left;}
.fr {float: right}
/********************************* END CUSTOM STYLES */

