Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
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
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:05 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC