Reply
active??? css pseudo-class
Old 06-09-2007, 08:38 PM active??? css pseudo-class
manuleka's Avatar
Average Talker

Posts: 15
Name: manu leka
ok i've been working on my site, and with css pseudo-class

a.browse:link
a.browse:visited
a.browse:hover
a.browse:active

here's how i set my code on css... realising that hover must come after link and visited and active after hover!

a.browse:link, a.browse:visited{blah blah blah}
a.browse:hover{blah}
a.browse:active{blah}

i don't really see the active effects, which makes me wonder what does it really do? or when does it happen?

does active occur between the clicking and the starting of the next page reload?
manuleka is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 06-09-2007, 08:45 PM Re: active??? css pseudo-class
WebSavvy's Avatar
Extreme Talker

Posts: 166
Name: Deb
You have them in the correct order (link/visited/active/hover)

Active does "do something." It gives the link with focus a different look if you've defined it in your CSS rules.

To see what "active" state (with foucs) looks like, use your tab key and tab down through your links. As you tab through them, the link gets focus and should reflect whatever CSS rules you've applied to that link state.
__________________
WebSavvy Directory | IHY
WebSavvy is offline
Reply With Quote
View Public Profile Visit WebSavvy's homepage!
 
Reply     « Reply to active??? css pseudo-class
 

Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.10731 seconds with 12 queries