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

    Join Date
    May 2002
    Location
    Oslo
    Posts
    105
    Rep Power
    13

    Problem with CSS and NS4.X


    I have this CSS used to draw a frame around a table cell:

    .ch
    {

    margin : 0;
    padding-left : 0%;
    padding-right : 0%;
    border-style : solid;
    border-right-width : 1px;
    border-left-width : 1px;
    border-top-width : 1px;
    border-bottom-width : 1px;
    margin : 3px;
    padding: 0px;
    border-color : #888888;

    }

    Used like this:
    <table>
    <tr><td class="ch">Hello</td></tr>
    </table>

    This CSS works fine in all browsers except in Netscape 4.x.
    Can anyone tell me why???
    Last edited by Pompiuses; June 1st, 2002 at 04:46 PM.
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2002
    Posts
    15
    Rep Power
    0

    try border-width:1px;


    Netscape 4.x SUCKS!!!

    Have you tried border-width:1px; instead of all those other borders?
  4. #3
  5. superficial
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    Peterborough, England
    Posts
    188
    Rep Power
    13
    netscape 4.x has only a little support for css, and some of the declarations you have shown there are probably not supported, that is why they dont work.
    _______________
    Matt

IMN logo majestic logo threadwatch logo seochat tools logo