Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Univeral Css Code For Every Website

DZone's Guide to

Univeral Css Code For Every Website

· ·
Free Resource
// I add this piece of code to every stylesheet I write, before starting on a new website design project



   * {
     padding:0;
     margin:0;
   }
   h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, ul, ol, dl, fieldset, address { margin:1em 5%; }
   li, dd { margin-left:5%; }
   fieldset { padding: .5em; }


Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}