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
My Underlinning Of Hyperlinks Firefox Problem
Old 07-07-2006, 12:16 PM My Underlinning Of Hyperlinks Firefox Problem
rlineker's Avatar
Extreme Talker

Posts: 153
Name: Ryan
Location: UK
Trades: 0
On my beta website im builind if i create a hyperlink and remove te underlining there is no underlining on ie but there is on firefox. Here is the code

HTML Code:
<a href="tutorials/html.html">
   <font color="#0099CC"><span style="text-decoration: none">HTML</span></font></a>
__________________
Directory R Us

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

Last edited by rlineker; 07-07-2006 at 12:19 PM..
rlineker is offline
Reply With Quote
View Public Profile Visit rlineker's homepage!
 
 
Register now for full access!
Old 07-07-2006, 01:07 PM Re: My Underlinning Of Hyperlinks Firefox Problem
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I think you may need to move the style to the <a> tag instead of the having it on the span.

One thing you may want to do that's unrelated since you're already using css is to remove the <font> tag and move the color to the style:

style="text-decoration:none; color:#0099cc"

I would move both styles to the <a> tag or better move the css to an external stylesheet.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 07-07-2006, 01:20 PM Re: My Underlinning Of Hyperlinks Firefox Problem
rlineker's Avatar
Extreme Talker

Posts: 153
Name: Ryan
Location: UK
Trades: 0
the problem with the first idea you sia dis that it changes colour when it has been visited. i have also tried with the css but didnt work so i scrapped the idea

Edit
-------
I have only moved the span part into the <a> tag and it worked thanks
Ryan
__________________
Directory R Us

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

Last edited by rlineker; 07-07-2006 at 01:21 PM..
rlineker is offline
Reply With Quote
View Public Profile Visit rlineker's homepage!
 
Old 07-07-2006, 02:02 PM Re: My Underlinning Of Hyperlinks Firefox Problem
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
The way I usually set something like this up is to have it all in the external stylesheet and then add styles for a, a:hover, a:visited.

If you only want the style applied to this link you can give this link an id and then in the stylesheet have a#yourid, a#yourid:hover, etc. It would probably be better to use a class instead of an id though so you can apply the same styles easily enough to other links you want to look the same.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 07-07-2006, 04:01 PM Re: My Underlinning Of Hyperlinks Firefox Problem
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
The CSS will work IF you do it correctly and that means using all the pseudo classes: a:link, a:visited, a:hover, a:active - and it MUST be in that order.
You tell it what colors, font size, text-decoration, everything in those styles.

The <font> tag is dead, deprecated and no longer considered good coding. The <center> tag shares the same fate along with many others.
__________________
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
 
Reply     « Reply to My Underlinning Of Hyperlinks Firefox Problem
 

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