Saturday, January 30, 2010

Different heading tags in css file

H2 style sheet code

"style type="text/css">
h2 {
font-size: 16px;
color: #FFFF00;
background-color: #000000;
margin-left: 20px;
margin-right: 20px;
padding-top: 2px;

padding-left: 4px;
font-family: Georgia, "Times New Roman", Times, serif;
font-weight: normal;
}
/style>"

=============
header h1 with background image
"
style type="text/css">

h1 {
margin: 0;
background-color: #ce530d;
color: #dfc07d;
font-size: 90%;
padding: 3px 5px 3px 10px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #000000;
background-repeat: repeat;
font-weight: bolder;
background-image: url(yourimage.gif);
font-family: Georgia, "Times New Roman", Times, serif;
}


/style>

No comments:

Post a Comment