Over a million developers have joined DZone.

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

   * {
   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; }


Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}