View Single Post
Old Feb 21st, 2005, 11:55 AM   #1
melbolt
Professional Programmer
 
melbolt's Avatar
 
Join Date: Feb 2005
Location: PA, USA
Posts: 253
Rep Power: 4 melbolt is on a distinguished road
Arrow CSS question on alink, vlink, and link

Hello, i'm trying to incorporate the alink, vlink, and link into my CSS, i'm not quite sure how to do that though.

currently my page was like follows

<body bgcolor=#e7d693 alink=green vlink=green link=green>


i wanted to put this into my CSS, so far i have

<style>

Body
{
	background-Color: #e7d693;
	
	a:link {color:green};
	
	a:visited {color:green};
	
	a:hover {color:green};
	
	a:active {color:green};

}

</style>


now for my body tag i have <body class="Body">

the background color works, but the link colors aren't working, what am i doing wrong?

thanks
melbolt is offline   Reply With Quote