Starting Place for Your CSS

March 10, 2009 by J.P.

When starting a new project its a good idea to have some css starting templates.
Here is one that I’ve been using for the past couple of years. Using the following it will help ensure that different browsers will react the same to margins, paddings, etc that you add to your other CSS files.

/* Even the playing field in all browsers */

html, body, ul, ol, li, p, img,
h1, h2, h3, h4, h5, h6,
form, fieldset, table, a {
margin:						0;
padding:					0;
border:						0;
}

/* Firefox imaage selection fix */
*:focus {outline: none}

/*blockquote:before, blockquote:after,
q:before, q:after {
	content:"" "";
}
blockquote, q {
	quotes: "" "";
}*/

br
{
	clear:both;
}

blockquote:before, blockquote:after {
color: #fff;
display: block;
font-size: 300%;
}

blockquote:before {
content: open-quote;
height: 0;
margin-left: -0.55em;
}

blockquote:after {
content: close-quote;
margin-top: -20px;
margin-left: 100

Find the css file here.

Download CSS


1 Comment
  1. Mortgages…

    [...]below you’ll find the link to some sites that we think you should visit[...]…

    Trackback by fha mortgage loans — March 27, 2011 @ 11:39 am

RSS feed for comments on this post. TrackBack URL

Leave a comment