CSS Reset Stub

Send Snippet To: Save this snippet to Code Collector Pro -- view all powidl's snippets
language: CSS
license: Other

Code for Snippet:

                
/* @group Reset */
 
/* Kudos, Eric Meyer, you rock */
 
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
 
:focus {
	outline: 1px dotted #ccc;
}
 
ol, ul {
	list-style: none;
}
 
table {
	border-collapse: separate;
	border-spacing: 0;
}
 
caption, th, td {
	text-align: left;
	font-weight: normal;
}
 
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
 
blockquote, q {
	quotes: "" "";
}
 
/* @end */
 
/* @group Elements */
 
html {
	background: #fff;
}
 
/* 62.5% resets default pixel size from 16 to 10; easier to work in base 10 */
 
body {
	font: 62.5%/1 Helvetica, Arial, sans-serif;
	text-align: center;
}
 
h1, h2, h3, h4, h5, h6 {
 
}
 
p, ul, ol, dl {
	font-size: 1.2em;
	line-height: 1.5;
	margin: 0 0 1.5em;
}
 
ul p, ol p, dl p {
	font-size: 1em;
}
 
ul {
	list-style-type: disc;
}
 
ul ul {
	list-style-type: circle;
}
 
ol {
	list-style-type: decimal;
}
 
li {
	margin-bottom: .5em;
}
 
a:link, a:visited {
	color: #0063d3;
	text-decoration: none;
}
 
a:hover, a:active {
	text-decoration: underline;
}
 
a:focus {
	outline: 1px dotted #0063d3;
}
 
em {
	font-style: italic;
}
 
strong {
	font-weight: bold;
}
 
label {
	display: block;
}
 
/* @end */
 
/* @group Classes */
 
.left {
	float: left;
}
 
.right {
	float: right;
}
 
img.left {
	margin: 0 10px 10px 0;
}
 
img.right {
	margin: 0 0 10px 10px;
}
 
.clear {
	clear: both;
}
 
.cleared {
	zoom: 1;
}
 
.cleared:after {
	content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
 
.center {
	text-align: center;
}
 
.alignleft {
	text-align: left;
}
 
.alignright {
	text-align: right;
}
 
/* @end */
 
/* @group Layout */
 
#page {
	margin: 0 auto;
	text-align: left;
}
 
#header {
 
}
 
#main {
 
}
 
#footer {
 
}
 
/* @end */
 
/* @group Page Specific */
 
/* @end */
comments powered by Disqus

Info

Tags: template cssedit favorite

Link to this snippet:


Download to Code Collector

To use the direct link to your snippet on CodeCollector.net either copy the html from the above section or drag the Download to Code Collector to where you would like to use it.

More Info:

Times Viewed: 777
Date Added: 2009-03-02 11:28:29
Last Modified: 0000-00-00 00:00:00

Web Analytics