Helpful Information
 
 
Category: HTML & CSS
Remove Link Underline

I currently use the below script to remove the line beneath a link. But, I have found it only removes it in IE and not Netscape. Does anyone know of a script that will do both???

Here's the script:

<STYLE TYPE="TEXT/CSS">
<!--
a,a:link,a:visited,a:active {text-decoration: none;}
a:hover {text-decoration:underline;}
//-->
</STYLE>


Thanks,
---JKR

a {text-decoration: none}

Removes it in NS4 as well, though it's been a while since I've designed anything with NS4 in mind.

The a:hover part though will only work in IE4+/NS6+.

BTW, this is the wrong forum, I'll move it to the appropriate one.

Ok, how about this.....
I didn't specify exactly what I wanted...
It does remove the line in both, but in IE it will put the line underneath it when you point at it or hover over it. I want Netscape to do the same. To show the line beneath it when you point at it.


Thanks,
---JKR

Read the 3rd line in my origial reply.

It *is* doable in NS4 though, but generally not worth the effort. It involves dynamically creating layers, positioning it over the link, then hiding and showing it onmouseover/out, etc...

I *had* an example of that in NS4 somewhere which made it relatively easy (but still too complicated for such a simple effect), but I don't know where it went, and probably lost it when Windows (well PartitionMagic for Windows) decided to destroy the contents of my 30gb hard drive when resizing a partition....

Although it may annoy some - I wouldn't worry about NS4 too much anymore.

In fact, pandering to it's weird demands is just discouraging people from upgrading their browser. :p

I actually agree with Irid's above comment -

Pure logic (not to mention statistics and experience) suggest that many, many, MANY websites MUST throw a *whole bunch* of errors in NS 4.x!

I will cater to NS 4.xer's to a certain point - but I figure that if they have an IQ above 10 then they have GOT to wonder why they get errors ALL of the time when they're surfing the web... don't they?!?

The idea of helping the little guy, NS sounds great! It's always nice to help slow down the mammoth Microsoft. :cool: But as a webdesigner, IE blows away NS, every time! It's unfortunate, but it's how it is. I was mainly asking because I am making a site for the federal gov and they like NS more than IE. They say it's more secure. I'm not sure about that, but what do I know about that. It seems like NS would be less secure especially when it comes to applets. I thought they were soppossed to be good friends with java?? :mad:

Anyway, if I have to go through all of that work just to make the lines appear when you're pointing at them, then it's not worth it to me.


Thanks,
---JKR

The best alternative to I.E. is IMO, Mozilla. I use it when I'm using Linux and they seem to be no compatibilty issues with I.E. (the effect of the most recent I.E. versions like colored scrollbars won't work though)
I havn't tried Mozilla with windows.... will try it sometime

even tho IE arent respecting the guidlines, it is the most used (60% or sumthin from that poll we had) so i use IE as a refernce even tho i try not to use properties/methods which are IE only. does anybody think that IE will one day frce netscape to shut down?

I don't think "forcing" would be the right term.

Originally posted by whackaxe
even tho IE arent respecting the guidlines, it is the most used (60% or sumthin from that poll we had) so i use IE as a refernce even tho i try not to use properties/methods which are IE only. does anybody think that IE will one day frce netscape to shut down?

Netscape will never go away. The Mozilla project they started has just been gaining momentum since its creation, as many people who have started using the Mozilla suite or branded versions thereof have begun switching their browser preference to it.

Why? Because Mozilla is a completely superior browser to IE, in everyway I've noticed. Better standards support, better/faster rendering, faster loading, more flexible, etc.

Even if hypothetically AOL dropped Netscape and let them wither down to nothing, there are enough loyal and active contributers to the open-source Mozilla project that it would continue to exist for a long time to come, just because it is such an excellent suite of tools.

Anyway, this topic if getting, well off topic, so let's try to keep it on track, and start a new topic if you want to continue this discussion.

Originally posted by Flamerule
The best alternative to I.E. is IMO, Mozilla. I use it when I'm using Linux and they seem to be no compatibilty issues with I.E. (the effect of the most recent I.E. versions like colored scrollbars won't work though)
I havn't tried Mozilla with windows.... will try it sometime

Mozilla works beautifully in Windows. The only problem I have with it is that some lame browser check codes being used are keyed to only check for that cheap Mozilla knock-off called Netscape and don't work properly.

IE IS the standard, why? because then MS are ahead of the game with every new release. Unless something ludicrous happens like the end of the world - but not so severe - this won't change; cretinous behmoths like Aol have seen to it that no matter how good alternatives like Mozzy may be, they can always be made to look crap. If Aol had just stuck Mozilla in their CD's then people may have taken to it.

I'm not sure if this is good or bad news for Netscapes future.

http://www.betanews.com/article.php3?sid=1023933942










privacy (GDPR)