Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 14 of 14
  1. #1
    New Coder
    Join Date
    Jun 2002
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile 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
    Go to the Great North Country...Alaska
    Without leaving home!

    http://roystreet.net/ask.alaskan/

  • #2
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    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.

  • #3
    New Coder
    Join Date
    Jun 2002
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    Go to the Great North Country...Alaska
    Without leaving home!

    http://roystreet.net/ask.alaskan/

  • #4
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    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....

  • #5
    New to the CF scene
    Join Date
    Jun 2002
    Location
    Sydney Australia
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #6
    Senior Coder
    Join Date
    Jun 2002
    Location
    41° 8' 52" N -95° 53' 31" W
    Posts
    3,660
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?!?
    Former ASP Forum Moderator - I'm back!

    If you can teach yourself how to learn, you can learn anything. ;)

  • #7
    New Coder
    Join Date
    Jun 2002
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Netscape....

    The idea of helping the little guy, NS sounds great! It's always nice to help slow down the mammoth Microsoft. 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??

    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
    Last edited by roystreet; 06-24-2002 at 05:37 PM.
    Go to the Great North Country...Alaska
    Without leaving home!

    http://roystreet.net/ask.alaskan/

  • #8
    New Coder
    Join Date
    Jun 2002
    Location
    Paris, France
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    I don't suffer from insanity, I enjoy every single minute of it!

  • #9
    Senior Coder
    Join Date
    Jun 2002
    Location
    paris, france
    Posts
    1,216
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?
    photoshop too expensive? use the GIMP! www.gimp.org

  • #10
    New Coder
    Join Date
    Jun 2002
    Location
    Paris, France
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I don't think "forcing" would be the right term.
    I don't suffer from insanity, I enjoy every single minute of it!

  • #11
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    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.

  • #12
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #13
    Regular Coder
    Join Date
    Jun 2002
    Location
    North East England
    Posts
    853
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.
    [+] Computer/PC issues [+] Silverpaw3D
    ------------------------------------------------
    Never buy a dwarf with learning disabilities...

    ...it's not big, and it's not clever.

  • #14
    Regular Coder
    Join Date
    Jun 2002
    Posts
    623
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm not sure if this is good or bad news for Netscapes future.

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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •