CSS Reset Styles

Many web developers now a days use CSS (Cascading Style Sheet) for their layout design and there are some CSS reset function which makes life easier while coding CSS and Reset styles is one of the main function which resets all the main functions. So, here is the CSS Reset Styles function which can be used in daily CSS coding.

compatible: CSS2 and higher

body { color: black; background: white; }

body, div, dl, dt, dd, li, pre,
form, fieldset, input, textarea, p, blockquote, th, td { margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; font-size: 100%; font-weight: normal; }

address, caption, cite, code, dfn, em, strong, var { font-style: normal; font-weight: normal; }

ol, ul { list-style: none; margin: 0; padding: 0; }

table { border-collapse: collapse; border-spacing: 0; }
caption, th { text-align: left; font-weight: normal; font-style: normal; }

acronym, abbr, fieldset, img { border: 0;}

:focus { outline: 0; }

No related posts.

Filed in: Misc Tags: , , ,

You might like:

CSS Reset Styles CSS Reset Styles

One Response to "CSS Reset Styles"

  1. Sushil Gupta says:

    Hello, nice post about css. Please keep new posts and blog updating. Thanks.

Leave a Reply

Submit Comment

© 3289 blogger.com.np. All rights reserved. XHTML / CSS Valid.