/ Published in: CSS
URL: http://meyerweb.com/eric/tools/css/reset/index.html
This is Eric Meyer's reset things I've added along the way. My changes are noted. I would definitely start from his and create your own.
Expand |
Embed | Plain Text
/****************************************************************************************** CSS Reset, thank you Eric Meyer...http://meyerweb.com/eric/thoughts/2008/01/15/resetting-again/ changed attributes are noted ****************************************************************************************/ html, g, 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, strike, strong, sub, sup, tt, var, b, u, i, center, 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-size: 100%; vertical-align: baseline; background: transparent; } html { background-color: #ffffff; /* ADDED (http://flickr.com/groups/underwearshowing/pool/)*/ } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } /* remember to define focus styles! */ :focus { outline: 0; } /* remember to highlight inserts somehow! */ ins { text-decoration: none; } del { text-decoration: line-through; } /* tables still need 'cellspacing="0"' in the markup */ table { border-collapse: collapse; border-spacing: 0; } /* force form controls and tables cells to inherit the correct size (http://www.clagnut.com/blog/348/)*/ input, select, th, td { font-size:1em } p { margin:0.5em 0 1.5em; } ul, ol { /*ADDED*/ margin-bottom:1.25em; }
You need to login to post a comment.
