Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
a:hover - not working
Old 06-19-2005, 09:21 PM a:hover - not working
Novice Talker

Posts: 13
Trades: 0
Hello…

Need some help w/my links – can someone please provide some expertise?
This is my first attempt at CSS… thanks for any feedback!

a:link {
text-decoration: none;
color: #FFFFFF;
}
a:visited {
text-decoration: none;
color: #FFFFFF;
}
a:hover, a:active {
text-decoration:
color: #FF6600;
}

What I am looking for is a switch in color when hovered over. It should change from white to orange. I am not able to get this effect when previewing ??? (@ least in firefox)

Also are there any references online for sample CSS sheets? A guide that lists features for a quick copy/paste?
natashaj is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-19-2005, 09:24 PM
metho's Avatar
Ultra Talker

Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
Trades: 0
separate your rules for starters;

a:link {}
a:active ()
a:visited {}
a:hover {}
__________________
I do
Please login or register to view this content. Registration is FREE
based.
Spend a lot of time in
Please login or register to view this content. Registration is FREE
.
And
Please login or register to view this content. Registration is FREE
chews up the rest.
metho is offline
Reply With Quote
View Public Profile Visit metho's homepage!
 
Old 06-19-2005, 09:49 PM
Novice Talker

Posts: 13
Trades: 0
I'm sorry... I am new to this, what do you mean?
natashaj is offline
Reply With Quote
View Public Profile
 
Old 06-19-2005, 09:53 PM
metho's Avatar
Ultra Talker

Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
Trades: 0
a:link {
text-decoration: none;
color: #FFFFFF;
}
a:active {
text-decoration:
color: #FF6600;
}
a:visited {
text-decoration: none;
color: #FFFFFF;
}
a:hover {
text-decoration:
color: #FF6600;
}

When you apply different styles to link states, including them all in the right order helps.

Also, for Firefox preview, dont use a href="#" links; use a real url. Firefox will sometimes not display the multiple states for a page anchor link.
__________________
I do
Please login or register to view this content. Registration is FREE
based.
Spend a lot of time in
Please login or register to view this content. Registration is FREE
.
And
Please login or register to view this content. Registration is FREE
chews up the rest.

Last edited by metho; 06-19-2005 at 09:57 PM..
metho is offline
Reply With Quote
View Public Profile Visit metho's homepage!
 
Old 06-20-2005, 03:15 AM
danburzo's Avatar
Skilled Talker

Posts: 82
Location: Bistrita RO
Trades: 0
is that css copied directly from your stylesheet? cause i'm seeing some missing parts in the a:hover... you have
Code:
text-decoration:
color:#FF6600;
you're missing the value for text-decoration.

Last edited by danburzo; 06-20-2005 at 03:18 AM..
danburzo is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to a:hover - not working
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
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.24444 seconds with 12 queries