have a bandit day

Icon

Deliberate, thoughtful design is not easy. I strive to create works that are professional, whether it’s by complying with precise standards or providing the quality clients expect. My style? Throw in two parts minimalist, one part flair, a handful of humor and a dash of cowboy. Blend until smooth.

Reset it, and forget it!

CSS reset stylesheets are designed to set default elements to a common baseline to reproduce identical pages across a variety of browsers. Have you felt the agony of float drops? Bemoan at the sight of inconsistent spacing? Gnash your teeth because of boring browser default styles? Solve some of these inconsistencies before wading knee-deep code.

Instead using an entire reset stylesheet, I’ve chosen a few selectors to zero out at the very beginning of the styles, making this a flexible option for resetting. Don’t worry about over-writing the styles; changing the reset styles is automatic, as long as the changes are made after your reset (further down in the stylesheet).

Code:

body, html, div, blockquote, img, label, p, h1, h2, h3, h4, h5, h6, pre, ul, ol,
li, dl, dt, dd, form, a, fieldset, th, td
{
margin: 0; padding: 0; border:0; outline: none;
}

Mix ‘n match, add, delete, augment, diminish, and hack away until your heart beams with pride. Check out Eric Meyer’s version on a proper CSS reset.

Category: CSS

Tagged: , , ,

Leave a Reply

Salutations

Welcome to my blog. Make yourself at home.


What started out as a purely web developer / SEO-centric blog has slowly degraded into the odd kitchen drawer of fancies. Now where did i put that sewing kit...

Twitter: ianderthal

flickr link delicious link linkedin link facebook link facebook link