Welcome visitor
* Login
* Register
It is currently January 21st, 2019, 11:32 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 4 posts ] 
Author Message
  Help with links styles
PostPosted: February 24th, 2009, 12:05 am 
User avatar

Posts: 71
Hey there,
Im working on a simple school project and Im implementing a bit of styles. For some reason that I ignore the links are not working as I want. Check this snippet:
<style type="text/css">
a:active {color: #000000}
a:hover {color: #ff0000}
a:link {color: #0000ff} 
a:visited {color: #00ff00}

</style>

Please, if you think you know what my problem is go ahead and tell me, I will appreciate it.


Top
 Profile  
 
  Re: Help with links styles
PostPosted: February 24th, 2009, 12:07 am 
User avatar

Posts: 61
try in this order: link-visited-hover-active


Top
 Profile  
 
  Re: Help with links styles
PostPosted: February 24th, 2009, 12:08 am 
User avatar

Posts: 71
Thanks, now it works, can you tell me why it should be that way?


Top
 Profile  
 
  Re: Help with links styles
PostPosted: February 24th, 2009, 12:09 am 
User avatar

Posts: 61
im not quite sure about why, is something about pseudo classes, but the thing that im sure about is that it works :lol:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron