Thread: CSS Help!!!!

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    3
    Rep Power
    0
    Can anyone help me
    I am trying to use CSS within linked to a HTML Document.
    The CSS file has three style definitions.
    a:Hover
    a:link
    a:vistied

    Now Ie works fine, you run the mouse over the text and it changes, but under netscape it doesn't

    Why so, is there an issue with Netscape 4.61 ?

    Can you even do this with netscape

    Here is the CSS code:

    <style>
    <!--

    P { font-color: #000000;
    font: arial, helvetica;
    font-size: 8pt;
    }

    A:link { font-color: #00001B;
    font: 8pt arial, helvetica;
    text-decoration: none;
    ; color: #FF3333
    }

    A:visited { font-color: #1B0000;
    font: 8pt arial, helvetica;
    text-decoration: none;
    ; color: #0000FF
    }

    A:hover { font-color: #001B1B;
    font: 8pt arial, helvetica;
    text-decoration: none;
    ; color: #00FF00
    }

    -->
    </style>

    Regards: Ryan Spain

    Comments on this post

    • Gran Roguismo agrees
  2. #2
  3. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    Perth West Australia
    Posts
    757
    Rep Power
    15
    Netscape 4.anything does not support the hover command.

    Apparently NS6 does, in fact it does a lot of things that explorer does and not a lot of what Netscape did!

    Regards
    Simon

    ------------------
    Simon Wheeler
    FirePages -DHTML/PHP/MySQL
  4. #3
  5. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    Perth West Australia
    Posts
    757
    Rep Power
    15
    Oooops - forgot to mention your CSS is a bit ropey I do not think netscape would regognise it - try as below or similar,

    A.Whatever{
    color : #800000 ;
    font-family : Century Gothic , Arial;
    font-size : 11pt ;
    font-weight : 600 ;
    text-decoration : none ;
    }

    Remember Netscape ignores all good CSS as soon as it hits a bad bit.

    Regards,
    Simon.

IMN logo majestic logo threadwatch logo seochat tools logo