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

    Join Date
    Sep 2000
    Posts
    7
    Rep Power
    0
    Alright, I have a simple CSS file that I'm working on. Perhaps someone can take a look at it and teach me if I've done something wrong. I must admit I just started using CSS after all this time.

    Everything looks fine in IE, and NS 6, but NS 4 shows the default fonts. Below is what I used in my external CSS file.

    Thanks for your assistance.







    .pnistyles {
    font-family: Verdana;
    font-size: 15 px;
    }

    A:link {
    color: Blue;
    text-decoration : underline;
    }
    A:active {
    color: Black;
    }
    A:visited {
    color: Blue;
    }
    A:hover {
    color: Green;
    text-decoration: overline;
    }




    .linkstyles {
    font-family: Verdana;
    font-size: 15 px;
    }

    A:link {
    color: Blue;
    text-decoration : underline;
    }
    A:active {
    color: Black;
    }
    A:visited {
    color: Blue;
    }
    A:hover {
    color: Green;
    text-decoration: none;
    }





    .topsylestyles {
    font-family: Verdana;
    font-size: 20 px;
    }
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    1
    Rep Power
    0

    CSS in IE, NS6 good, NS 4 bad


    Same problem here. Page looks wonderful in MSIE 5.01 but in Netscape 4.75, it's a royal mess.

    Cant figure it out.

    http://www.greenthing.net/svg/index.html if you want to look at it.

    Best wishes.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Posts
    7
    Rep Power
    0
    beats me -- hope some guru can take a look and help us out!
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Location
    BELGIUM
    Posts
    4
    Rep Power
    0
    Now that's an easy one, Netscape versions prior to version 6 don't support the hover attribute. That's why you don't see the rollovers on your links.

    You could emulate them with JavaScript, but it would probably be overkill...

    Best regards,

    Wim
  8. #5
  9. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    35
    Rep Power
    15
    Yes, NN4 really screws up the CSS. I find it best to avoid the body declaration in my NN4 stylesheets, and instead declare the indiviual body parts:

    b, i, td, etc.... {
    font-face: IHateNavigator
    }

    Dotan Cohen
    -----------------------------------------------
    MySQL php4
    50 megs $9.99 http://TerribleHost.com
    -----------------------------------------------

IMN logo majestic logo threadwatch logo seochat tools logo