Thread: CSS & Netscape

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    256
    Rep Power
    12

    CSS & Netscape


    I know that you can get css to work with NS by placing 'class' tags in every single <td> and/or <p> is this really the only way? It's kind of tedious.... Anyone have any suggestions or advice? Do any of the NS versions support css tags placed in the opening <table> tag? Any other way around this? And does it matter if I have coded like that for NS but use the same page for both IE and NS (in other words, I don't want to do browser sniffers). As far as I can tell, its not a problem, but perhaps there are some tags that NS can read that allow css to work a little easier?


    Help is greatly appreciated!
  2. #2
  3. |<.+#f@#+.&.|
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Mar 2002
    Location
    norway
    Posts
    3,009
    Rep Power
    1224
    with css your problem isn't with mozilla /NS6+ , (assuming you mean netscape 6.+ when you say NS), it has far superior support for css than what ie has.

    and you don't have to place class to every single tag
    you can refer directly to each tag,


    like

    p {
    font-family:sans-serif;
    }

    td {
    background:#222222;
    color:#b9b9b9;
    }

    etc..

    if you want just to control the td within one
    table you can refer to them like

    .foobar td {
    font-weight:700;
    }

    in html
    <table class="foobar">

IMN logo majestic logo threadwatch logo seochat tools logo