My reset.css

This is my version of the standard reset.css Eric Meyer posted some time ago in his website. Just copy it and paste it at the beginning of your css. I’ll be updating it accordingly. This little piece of code should reduce browser inconsistencies.

*{text-shadow:#000 0 0 0}
/* safari text fix*/
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,
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;
	/*vertical-align:baseline*/}
a img, :link img, :visited img {border:0}
table {
	border-collapse: collapse;
	border-spacing:0}
ul {list-style:none}
q:before, q:after,
blockquote:before, blockquote:after {
	content: ""}
:focus {outline:0}
html{
width:100%;
height:100%}
   body{
	text-align:center;
	margin:0 auto;
	height:100%}
This entry was posted in css, tips&tricks, web design and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>