Skip to content

Instantly share code, notes, and snippets.

@Perun
Created May 6, 2010 22:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Perun/392782 to your computer and use it in GitHub Desktop.
Save Perun/392782 to your computer and use it in GitHub Desktop.
CSS Reset...
/* ----------------------------
simple reset:
http://www.maxdesign.com.au/articles/css-reset/
---------------------------- */
html, body, ul, ol, li, form, fieldset, legend
{
margin: 0;
padding: 0;
}
h1, h2, h3, h4, h5, h6, p { margin-top: 0; }
fieldset,img { border: 0; }
legend { color: #000; }
li { list-style: none; }
sup { vertical-align: text-top; }
sub { vertical-align: text-bottom; }
table
{
border-collapse: collapse;
border-spacing: 0;
}
caption, th, td
{
text-align: left;
vertical-align: top;
font-weight: normal;
}
input, textarea, select
{
font-size: 110%;
line-height: 1.1;
}
abbr, acronym
{
border-bottom: .1em dotted;
cursor: help;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment