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.

CSS Forum


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



Reply
Gah Valid CSS XHTML, Works in IE not in firefox
Old 01-24-2005, 07:01 AM Gah Valid CSS XHTML, Works in IE not in firefox
Junior Talker

Posts: 2
Trades: 0
G'day

This problem has been driving me insane. I've validated my css & XHTML (1.0 Transitional) and it all checks out okay. Firefox is rendering in standards compliant mode, so it should just work, right ?

All I am trying to do is apply a style to a link who has a particular class. IE:

This Link:
<a class="button" href="http://www.yahoo.com/">Yahoo</a>

Should have this style:

a.button:link {
background-color: #00a7e9;
color: #000000; }


Any ideas ?
f001error is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-24-2005, 02:50 PM
faze1's Avatar
Ultra Talker

Posts: 389
Trades: 0
Hello and welcome to the forum!

I'm, guessing your problem is the that the link displays incorrectly after it has been visited, try adding a bit more code.

Code:
a.button:link, a.button:visited {
background-color: #00a7e9;
color: #000000; }

a.button:hover, a.button:active {
background-color: #00a7e9;
color: #ffffff; }
I hope that answers your question. If not post a link to your site and I'll take a closer look.

Cheers,
__________________
[size=2]
Please login or register to view this content. Registration is FREE
- Webhosting - Focusing on quality service
faze1 is offline
Reply With Quote
View Public Profile Visit faze1's homepage!
 
Old 01-25-2005, 07:18 AM
Junior Talker

Posts: 2
Trades: 0
Thank you faze1 !

That solved it


Can't believe it was something so simple...late nights + css = silly mistake

Thank you !
f001error is offline
Reply With Quote
View Public Profile
 
Old 01-25-2005, 02:27 PM
NateDogg's Avatar
Extreme Talker

Posts: 163
Trades: 0
Believe me, it happens to all of us Glad it was fixed
__________________
Nathan


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
NateDogg is offline
Reply With Quote
View Public Profile
 
Old 01-25-2005, 03:14 PM
faze1's Avatar
Ultra Talker

Posts: 389
Trades: 0
I'm glad that helped, Nate couldn't say it any better, it happens to all of us.

Cheers,
__________________
[size=2]
Please login or register to view this content. Registration is FREE
- Webhosting - Focusing on quality service
faze1 is offline
Reply With Quote
View Public Profile Visit faze1's homepage!
 
Reply     « Reply to Gah Valid CSS XHTML, Works in IE not in firefox
 

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