SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Hybrid View

  1. #1
    Feel my RewiredMind KMxRetro's Avatar
    Join Date
    Jan 2001
    Location
    Exeter, Devon, UK
    Posts
    477
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi folks,
    I'm trying to make a navigation bar where as the user rolls over the text of a link, the link becomes underlined.

    I kinda got the idea from www.gamespot.com

    It sounds like a pretty simple thing to do and I'm sure that I've done it before but I can't for the hell of me remember how


    Thanks folks,

  2. #2
    ********* Callithumpian silver trophy freakysid's Avatar
    Join Date
    Jun 2000
    Location
    Sydney, Australia
    Posts
    3,798
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Using CSS2 something like this:

    A:hover {color: #FFFFFF; text-decoration: underline; }

    Chapter 5 of the spec covers all this stuff http://www.w3.org/TR/REC-CSS2/selector.html

  3. #3
    SitePoint Addict SLeon's Avatar
    Join Date
    Sep 2000
    Location
    Northern California
    Posts
    222
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You have to also specify in a:link that there is no text decoration, 'cause the default is underlined.
    InformationSavant - developing intelligent web business
    StrangePegs.com - collectible cards, games, toys, comics

  4. #4
    Don't get too close, I bite! Nicky's Avatar
    Join Date
    Jul 1999
    Location
    Lancashire, UK
    Posts
    8,277
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    And be aware that the only version of Netscape that this works on is 6.

  5. #5
    Feel my RewiredMind KMxRetro's Avatar
    Join Date
    Jan 2001
    Location
    Exeter, Devon, UK
    Posts
    477
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks all, I knew it wasn't that hard to do

    Ta again


Bookmarks

Posting Permissions

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