As an expert web developer, I need to support all browsers and their rendering of websites. In the past I used a third party css reset style sheet, but have since created one to fit closer to my needs

I started off by using Yahoo's css reset, but it didn't validate. So with some edits I've come to use the following style sheet.

/** 
* Author: Nick Yeoman
* reset.css
* v1.0
* Last Updated: July 7, 2009
* Documentation: http://www.nickyeoman.com/blog/css/11-css-reset
**/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
form,fieldset,input,textarea,p,blockquote,th,td 
{margin:0;padding:0;}

table { border-collapse:collapse; border-spacing:0;}
fieldset,img { border:0;}
address,caption,cite,code,dfn,em,strong,th,var {font-style:normal;font-weight:normal;}
ol,ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6 {font-size:100%;font-weight:normal;}
q:before,q:after {content:'';}
abbr,acronym { border:0;}

Reference

Feedback

You are welcome to use the above reset however you want. If you use it and can improve upon it I'd love to hear from you.

Comments

Show/Hide Comment form