CSS Reset by Eric Meyer

July 25, 2008 at 7:36 pm (CSS)

/* Don’t forget to set a foreground and background color on the ‘html’ or ‘body’ element! */

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, dd, dl, dt, li, ol, ul, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
 margin: 0;
 padding: 0;
 border: 0;
 font-weight: inherit;
 font-style: inherit;
 font-size: 100%;
 line-height: 1;
 font-family: inherit;
 text-align: left;
 vertical-align: baseline;
}

a img, :link img, :visited img {
 border: 0;
}

table {
 border-collapse: collapse;
 border-spacing: 0;
}

ol, ul {
 list-style: none;
}

q:before, q:after,
blockquote:before, blockquote:after {
 content: “”;
}

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.