/ Published in: CSS
Resets all of the built in browser parameters
Expand |
Embed | Plain Text
/*************************************************************************/ /* NORMALIZING PADDING, ETC */ /*************************************************************************/ 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; } /* Normalizes font-sizes for header */ h1, h2, h3, h4, h5, h6 { font-size: 100%; } /* Removes list-style from lists */ ol, ul { list-style: none; } /* Normalizes font-style and font-weiht to normal */ address, caption, cite, code, dfn, em, strong, th, var { font-style:normal; font-weight: normal; } /* Removes borders and spacing from tables */ table { border-collapse:collapse; border-spacing: 0; } /* Removes border from fieldset and img */ fieldset, img { border: 0; } /* Left-aligns text in caption and th */ caption, th { text-align:left; } /* Removes quotation marks from q */ q:before, q:after { content: no-open-quote; content: no-close-quote; }
You need to login to post a comment.
