The HTML CSS style sheet is one of the files I use with my own personal CSS framework. I've posted the actual file I use and explain how it works.
There was an interesting article on snook.ca that brings up a few good points of why not to use a CSS reset. Unlike snook's author I was able to come up with a quick solution for this reset problem. Also this CSS sheet probably won't work well without the css reset.
My HTML CSS file is also often referred to as typography or base style sheet. I use this file to store all my css for my html tags. The purpose of the file is to set some value for HTML tags after the reset has styled the page.
I try to stay away from using styles that will affect layout (like margin), but it is not guaranteed.
Nick Yeoman's HTML Style Sheet
/**
* Author: Nick Yeoman
* html.css
* v1.1
* Last Updated: July 7, 2009
* Documentation: http://www.nickyeoman.com/blog/css/51-css-html
**/
html, body, p {
font-family: verdana;
}
ul li {
margin-left:15px;
list-style-type:square;
}
b, strong {
font-weight:bold;
}
i,em {
font-style: italic;
}
a:link,a:visited,a:active,a:hover {
text-decoration:none;
border-bottom:1px dotted;
}
Reference
- No CSS reset
- Beautiful CSS Organising Your Stylesheets
- Blueprint CSS framework
- Elements CSS Framework
Comments