/ Published in: CSS

URL: http://developer.yahoo.com/yui/reset/
Similar to Tantek Celik's famous "vanishing" css (http://snipplr.com/view/266/undohtmlcss--tanteks-original-removes-browser-default-style), this basically levels the playing field for browsers by normalizing the default rendering of common HTML elements.
Expand |
Embed | Plain Text
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,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%;} q:before,q:after{content:'';}
You need to login to post a comment.