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
Really basic CSS + Firefox question
Old 05-21-2006, 11:57 PM Really basic CSS + Firefox question
Novice Talker

Posts: 6
Trades: 0
Hi folks,

I've only just discovered CSS and have been implementing it on my website over the last couple of weeks. However I'm finding a really elementary problem with Firefox, which, from what I've read, shouldn't be happening:

Even with the most basic script:

<style type="text/css">
<!--
a:active { text-decoration: underline}
a:hover { text-decoration: underline}
a:link { text-decoration: none}
a:visited { text-decoration: none}
-->
</style>

Firefox shows the links without underlining, but doesn't add the underlining when hovering or clicking on the links. IE does it OK.

What am I missing?
Please help!

Shen
Aum Mani Padme Hum
shen is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-22-2006, 12:05 AM Re: Really basic CSS + Firefox question
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,898
Name: Keith Marshall
Location: Connecticut
Trades: 0
It could relate to many issues:

1) The links could be assigned another class witch may have other styles set

2) If the stlesheet is an external file, is it being linked in the header?

3) The paged is displaying a cached version of the page and/or stylesheet.

I think the problem is #3 since it is working in IE, just force a refresh by pressing Ctrl + F5

__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 05-22-2006, 01:01 AM Re: Really basic CSS + Firefox question
Ultra Talker

Posts: 256
Location: Auckland, New Zealand
Trades: 0
There's a specific CSS ordering which I've done below.

HTML Code:
<style type="text/css">
  a:link { text-decoration: none; }
  a:visited { text-decoration: underline; }
  a:hover { text-decoration: underline; }
  a:active { text-decoration: none; }
</style>
Cheers,

MC
__________________
#------------------------------signature---------------------------------------------------------------------------------#
Quote:
I am well recognised for what I don't do than what I do. Chores are just one of those things.

Last edited by mastercomputers; 06-05-2006 at 09:57 PM..
mastercomputers is offline
Reply With Quote
View Public Profile Visit mastercomputers's homepage!
 
Old 05-22-2006, 01:26 PM Re: Really basic CSS + Firefox question
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
As noted above, they must be in a specific order. Think "LoVeHAte"
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

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


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

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 05-24-2006, 01:57 AM Re: Really basic CSS + Firefox question
Novice Talker

Posts: 6
Trades: 0
Thanks folks,
That worked. Unfortunately it seems Dreamweaver isn't aware of LoVeHAte! My CSS code is generated by Dreamweaver. Checking the Dreamweaver code with the CSS validator (w3.org) picked up many errors, but not this one.

Shen
shen is offline
Reply With Quote
View Public Profile
 
Old 05-24-2006, 11:24 AM Re: Really basic CSS + Firefox question
Mooofasa's Avatar
Defies a Status

Posts: 1,611
Name: Michael (mik) Land
Location: England
Trades: 0
That's because it isn't an error nor a warning.

The problem with WYSIWYG editors, is that errors and warnings will always be created, because the developers would rather throw it out into the market without checking everything works accordingly.

And the linke method should actually be:

Link
Visited
Focus
Hover
Active

The new one being FOCUS.
__________________

Please login or register to view this content. Registration is FREE
- Tumblog with thoughts, quotes, links, videos, images and my creations.

Please login or register to view this content. Registration is FREE
- The best free web browser.

Please login or register to view this content. Registration is FREE
- Firefox is now Firefail.
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Reply     « Reply to Really basic CSS + Firefox question
 

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