SitePoint Sponsor

User Tag List

Results 1 to 9 of 9

Thread: netscape 4

  1. #1
    SitePoint Member MkJnr's Avatar
    Join Date
    Dec 2001
    Location
    London/Coventry
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    netscape 4

    I got my site looking identical in IE6 and Netscape 6 but when I look @ in Netscape 4 it is really bad. None of my CSS seems to be working, especially the backgroun colours:

    .menu_text_2 {
    color: #000000;
    font-size: 10 ;
    font-family : Verdana, Arial, Helvetica, sans-serif;
    }

    .menu_text_2_bg {
    background-color: #EFEFEF;
    }

    Those are two of the ones defined in my CSS style but in NS4 it doesn't show, just has like no background colour and the text is default in size 12 I think it is in Times New

    Can anyone help me here

    Mark

  2. #2
    SitePoint Evangelist
    Join Date
    Jan 2002
    Posts
    420
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I dont really know but maybe try taking out the underscores in your style names.
    Wavelan

  3. #3
    SitePoint Wizard
    Join Date
    Oct 2001
    Location
    Tucson, Arizona
    Posts
    1,858
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's pretty good for just guessing, Wavelan.

    MkJnr, here's what the validator says (it's because you used the underscore in naming your classes):
    Parse Error - menu_text_2 { color: black; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; }
    Here's what I suggest:
    Code:
    .menuText2 {
      background-color: transparent;
      color: black;
      font-family: Verdana, Arial, Helvetica, sans-serif;
      font-size: 10px;
    }
    
    .menuText2Bg { background-color: #EFEFEF; }
    I fixed some problems you had in your code, also.

  4. #4
    SitePoint Wizard
    Join Date
    Oct 2001
    Location
    Tucson, Arizona
    Posts
    1,858
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, and did I mention that Navigator 4's support for CSS is craptastic?

  5. #5
    SitePoint Wizard Aes's Avatar
    Join Date
    Jun 2001
    Location
    Oklahoma
    Posts
    3,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by mattjacob
    Oh, and did I mention that Navigator 4's support for CSS is craptastic?
    Largely due to the fact that CSS was not around when Netscape 4.x's engine was developed. Get an upgrade to Netscape 6.x or Mozilla.

    -Colin
    Colin Anderson
    Ambition is a poor excuse for those without
    sense enough to be lazy.

  6. #6
    SitePoint Columnist Skunk's Avatar
    Join Date
    Jan 2001
    Location
    Lawrence, Kansas
    Posts
    2,066
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The underscores are almost certainly the problem - see this document:

    http://developer.netscape.com/evange...s-underscores/

    For tips on getting CSS to work with NS4 see here:

    http://www.mark.ac/web/cssnn4.php

  7. #7
    SitePoint Wizard
    Join Date
    Nov 2000
    Location
    Chico, Ca
    Posts
    1,125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    NN 4 doesn't have much support for CSS .. so I would not be too worried about it.. search some of the older threads, this topic has been beaten to death already ..

    Chuck
    "Happiness doesn't find you, you find happiness" -- Unknown
    www.chuckknows.com

  8. #8
    SitePoint Addict TegSkywalker's Avatar
    Join Date
    Nov 2001
    Location
    USA
    Posts
    214
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    *sigh* Netscape 4..... grr die already!!!!

  9. #9
    Posts rarely lloydi's Avatar
    Join Date
    Jan 2002
    Location
    Swindon UK
    Posts
    620
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    And wouldn't it be great if tools like DreamWeaver stopped you using underscores in CSS class names? I got prototypes given to me before that were awful in N4, because they had been built in DreamWeaver using underscores - the designer had no idea this was happening, having only prototyped using IE5
    Build Your Own Web Site the Right Way!
    A beginners' HTML/CSS book with web standards at its heart
    The Ultimate HTML Reference
    A complete reference, in glorious hardback


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
  •