CSS Resets are stylesheets intended to lay a consistent baseline. Browsers have varying defaults that can alter the alignment of elements on your page. While browser defaults are not a bad thing, their inconsistencies can be dealt with in a simple and straightforward manner through the use of resets.

Remember: http://dowebsitesneedtolookexactlythesameineverybrowser.com? A CSS reset is not intended to force all browsers into visual sameness, but to help you build up from a level playing field.

Download File

km-reset.css Download km-reset.css

You may download the CSS file directly or copy and paste the code below.

@charset 'utf-8';

/*--------------------
      CSS RESET
--------------------*/

/*-- by Kim Maida | http://kim-maida.com --*/
/*-- Additional thanks to Eric Meyer, Richard Clark, Paul Irish, Divya Manian --*/

html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, 
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, 
kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, 
dd, ol, ul, li, fieldset, form, input, textarea, 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-family: inherit;
	line-height: 1;
	text-decoration: none;
	vertical-align: baseline;
}

img { vertical-align: middle; }

ol, ul, dl { list-style: none; }

a,
label,
input[type=button],
input[type=submit],
button { cursor: pointer; }

input, select, textarea { font-family: inherit; }
textarea { overflow: auto; } /* prevents scrollbar from showing up when unneeded in IE */

caption, th, td { text-align: left; font-weight: normal; }

h1, h2, h3, h4, h5, h6 { font-weight: normal; }

i, em { font-style: italic; }
b, strong { font-weight: bold; }

q:lang(en) { quotes: '“' '”' '‘' '’'; }

/*------------------------------------------------------------------------- HTML5 --*/

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { 
	display: block; 
	margin: 0;
	padding: 0;
}