Go Back   Dynamic Drive Forums > General Coding > CSS
Search Dynamic Drive Forums:

Reply
 
Thread Tools Search this Thread
  #1  
Old 07-28-2007, 06:34 AM
Eternal_Howl Eternal_Howl is offline
Junior Coders
 
Join Date: Jul 2007
Location: New Zealand
Posts: 81
Thanks: 1
Thanked 1 Time in 1 Post
Default Style link attributes don't work in Firefox?

IN IE, the link attributes (color, hover, decoration none etc) work fine. In Firefox, I had to resort back to <body text="#...." link="#.....#, alink="#...."> because the CSS attributes wouldn't work when it came to the links. The hover wasn't producing the desired effect and all my links were set to the browser default.

Has anyone else had this problem? Is there a fix?
Reply With Quote
  #2  
Old 07-30-2007, 01:33 PM
dog dog is offline
Regular Coders
 
Join Date: Apr 2006
Posts: 178
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Quote:
...the CSS attributes wouldn't work when it came to the links.
What did you try and where did you define your CSS, inline, in the Head or in an external file?

Post your code for people to work on.

To define the colour and text-decoration of links you can write something like this, either inside Style Tags in the Head or in an external CSS file:
Code:
a:link { color: blue;  text-decoration: none; }
a:hover { color: red; text-decoration: underline; }
a: visited, a: active { color: #330033; }
good luck!
dog
Reply With Quote
Reply

Bookmarks

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

Forum Jump


All times are GMT. The time now is 03:14 AM.

Home - Contact Us - Archives - Link to DD - Top 

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.