This is what my css style sheet looks like:
.BottomLinks {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
font-style: normal;
font-weight: bold;
font-variant: normal;
PADDING-RIGHT: 0px;
PADDING-LEFT: 0px;
PADDING-BOTTOM: 6px;
COLOR: #FFFFFF;
PADDING-TOP: 8px;
text-decoration: none;
}
.BottomLinks:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
font-style: normal;
font-weight: bold;
font-variant: normal;
PADDING-RIGHT: 0px;
PADDING-LEFT: 0px;
PADDING-BOTTOM: 6px;
COLOR: #CCCCCC;
PADDING-TOP: 8px;
text-decoration: none;
}
I called this style sheet "styles.css". as you can see, i dont have a header. The
"BottomLinks" is what hte links are to look like normally i.e. when theres no mouse pointer over them. The
BottomLinks:hover is what it looks like when a mouse is positioned over it.
In this case, when a mouse goes over a link it will change from white to grey, and when mouse moves out of link area, it will change back.
To correctly link the style sheet to a html document in the
<head> part put this following tag:
<link HREF="styles.css" REL="stylesheet" TYPE="text/css">
obviously you would change the <link HREF="styles.css"... to whatever your style sheet was called.
E.g.
<head>
<title>Page Nametitle>
<link HREF="styles.css" REL="stylesheet" TYPE="text/css">
</head>
Now to use part of the stylesheet for the link this is an example of would do:
<a href="searchadv.htm"
class="BottomLinks">Search</a>
obviously if the class wasnt called bottom links, you would change it to whatever you called it.
You can keep adding different classes to the sheet without having to make numerous sheets, they would simply just be added to the bottom.
E.g.
.BottomLinks {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
font-style: normal;
font-weight: bold;
font-variant: normal;
PADDING-RIGHT: 0px;
PADDING-LEFT: 0px;
PADDING-BOTTOM: 6px;
COLOR: #FFFFFF;
PADDING-TOP: 8px;
text-decoration: none;
}
.BottomLinks:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
font-style: normal;
font-weight: bold;
font-variant: normal;
PADDING-RIGHT: 0px;
PADDING-LEFT: 0px;
PADDING-BOTTOM: 6px;
COLOR: #CCCCCC;
PADDING-TOP: 8px;
text-decoration: none;
}
.LocationLinks {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-style: normal;
font-weight: bold;
font-variant: normal;
PADDING-RIGHT: 0px;
PADDING-LEFT: 0px;
PADDING-BOTTOM: 6px;
COLOR: #003366;
PADDING-TOP: 8px;
text-decoration: none;
}
.LocationLinks:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-style: normal;
font-weight: bold;
font-variant: normal;
PADDING-RIGHT: 0px;
PADDING-LEFT: 0px;
PADDING-BOTTOM: 0px;
COLOR: #FFFF00;
PADDING-TOP: 0px;
text-decoration: none;
}
As you can see, i just added "location links" to the bottom.
Its really not all that hard. If you have any more questions just pm me or post a reply. I know this reply wasnt all that clear, but i aint meant to be online
Better get back to studying.