SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Enthusiast chickaboom's Avatar
    Join Date
    Mar 2001
    Location
    Sunny southern California
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Netscape 4.78 problem - Active links is red and it shouldn't be

    Hi. Here is my css:

    a:link {color: #9999ff; text-decoration: none; font-size: 9pt;}
    a:visited {color: #ccccff; text-decoration: none; font-size: 9pt;}
    a:hover {color: #9999ff; text-decoration: underline; font-size: 9pt;}
    a:active {color: #9999ff; text-decoration: underline; font-size: 9pt;}

    which works quite fine in IE of course, but for some reason the link turns RED when it's clicked in Netscape. Anyone know why this is?

    Thanks,
    ~Liliana
    The circle of life

  2. #2
    SitePoint Wizard
    Join Date
    Jul 2001
    Location
    The Netherlands
    Posts
    2,617
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I would change the order of the links, I remember vaguely that this could cause some problems.
    I always use this order, and as far as I know it is the default one:

    Code:
    a:link {color: #9999ff; text-decoration: none; font-size: 9pt;}
    a:active {color: #9999ff; text-decoration: underline; font-size: 9pt;}
    a:visited {color: #ccccff; text-decoration: none; font-size: 9pt;}
    a:hover {color: #9999ff; text-decoration: underline; font-size: 9pt;}
    Just a little mind-bridge: First a link is just a link and not clicked. The user clicks it, thus the link becomes active. After the link has been active, and the user has visited it, well, it is a visited link.
    And then there is the special one, which is hover .

  3. #3
    SitePoint Zealot
    Join Date
    Feb 2002
    Location
    UK
    Posts
    146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Netscape 4.78 problem...

    ...now there's a phrase you don't see every day


    I believe netscape 4 does not support css pseudoclasses :hover or :active for links, although :link and :visited are OK.

    AFAIK the only way to change the active link colour in netscape is to use the deprecated html attribute alink in the body tag

    e.g

    <body alink="#9999ff">

  4. #4
    SitePoint Enthusiast chickaboom's Avatar
    Join Date
    Mar 2001
    Location
    Sunny southern California
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I tried changing the order, it didn't work. The active link was still red. So, I used the ...deprecated html attribute. Fixed it. Thank you so much!

    I suppose that Netscape problem *was* kind of a dorky subject line. I still use Netscape (ssshhhh don't tell). My whole family does in fact. I went to a Web site once - it gave me a message 'Hey dinosaur, update your browser.'
    The circle of life


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
  •