HTML Styles    

 

Sample stylesheet from one of my pages:


/***********************************************/
/* HTML tag styles                             */
/***********************************************/ 

body{
	font-family: Arial,sans-serif;
	color: #660000;
	line-height: 1.166;
	width: 850px;
	background-repeat: no-repeat;
	background-position:left,top;
	background-color: #CCCCCC;
}

a{
	color: #330099;
	text-decoration: none;
}

a:link{
	color: #330099;
	text-decoration: none;
}

a:visited{
	color: #330099;
	text-decoration: none;
}

a:hover{
	color: #330099;
	text-decoration: underline;
}

h1{
 font-family: Arial, Helvetica, sans-serif;
 font-size: 120%;
 color: #660000;
 margin: 0px;
 padding: 0px;
}

h2{
 font-family: Arial,sans-serif;
 font-size: 114%;
 color: #336666;
 margin: 0px;
 padding: 0px;
}

h3{
 font-family: Arial,sans-serif;
 font-size: 100%;
 color: #003366;
 margin: 0px;
 padding: 0px;
}

h4{
 font-family: Arial,sans-serif;
 font-size: 100%;
 font-weight: normal;
 color: #333333;
 margin: 0px;
 padding: 0px;
}

h5{
 font-family: Verdana,Arial,sans-serif;
 font-size: 100%;
 color: #334d55;
 margin: 0px;
 padding: 0px;
}

ul{
 list-style-type: square;
}

ul ul{
 list-style-type: disc;
}

ul ul ul{
 list-style-type: none;
}

label{
 font-family: Arial,sans-serif;
 font-size: 100%;
 font-weight: bold;
 color: #334d55;
}


#headlines{
	float:left;
	padding-right: 10px;
	padding-left: 15px;
}

#content{
	width: 600px;
	position: relative;
	height: -3.0;
}


/************** .feature styles ***************/

.feature{
	padding: 0px 0px 10px 10px;
	font-size: 90%;
	width: auto;
}

.feature h3{
	padding: 30px 0px 5px 0px;
	text-align: center;
}

.feature img{
	float: left;
	padding: 10px 10px 0px 0px;
}


/************** .story styles *****************/

.story{
	clear: both;
	padding: 10px 0px 0px 10px;
	font-size: 80%;
}

.story p{
	padding: 0px 0px 10px 0px;
}


/************* #siteInfo styles ***************/

#siteInfo{
	clear: both;
	font-size: 75%;
	color: #cccccc;
	padding: 10px 10px 10px 10px;
	border-bottom: 2px solid maroon
}

#siteInfo img{
	padding: 4px 4px 4px 10px;
	vertical-align: middle;
}



/*********** .relatedLinks styles ***********/

.departments a:link {
	color: #330099;
	text-decoration: none;
	background-color: #FFFFCC;
}
.departments a:hover {
	background: #9999FF;
	color: #330099;
	text-decoration: none;
	width: 160px;
}

.departments {
	margin-left: 5pt
	color: #330099;
	text-decoration: none;
	font-size: 10pt;
	width: 160px;
	border: 1px solid #996600;
	padding: 2px;
	background-color: #FFFFCC;
}

.departments a:visited {
	color: #330099;
	text-decoration: none;
}
.space {
	margin-top: 5px;
	margin-bottom: 5px;
}

/************** #advert styles **************/

#advert{
	padding: 15px 0px 10px;
	border: solid maroon 1pt;
	background-color: #CCCC99;
}

#advert img{
	display: block;
}


/************** #headlines styles **************/

#headlines{
	margin: 0px;
	padding: 10px 0px 20 20px;
	font-size: 80%;
	position: relative;
	width: 210px;
}

#headlines p{
	padding: 5px 0px 5px 0px;
}
#departments {
	width: 200px;
	padding-left: 5px;
}

 

Color list Font List