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

    Join Date
    Mar 2001
    Location
    London
    Posts
    86
    Rep Power
    19

    NS 6, CSS, td background


    I am trying to get a background color on a cell through NS6.1.,

    this works in IE 5+, NS 4.76, NS 4.79, Opera 6.01 BUT NOT IN NS6

    any ideas?

    html e.g.

    <td width="100%" class="sectionheadergreen">welcome</td>


    css e.g.

    .sectionHeadergreen{
    TEXT-TRANSFORM:uppercase;
    BACKGROUND-color: #71B210;
    FONT-WEIGHT: bold;
    FONT-SIZE: 11px;
    COLOR: #ffffff;
    FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none;
    padding-left: 7px;
    padding-top: 2px;
    padding-bottom: 3px;}

    help appreciated!
  2. #2
  3. superficial
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    Peterborough, England
    Posts
    188
    Rep Power
    13
    the last declaration usually doesnt have a semi-colon (

    (i dont think this will fix your problem unfortunately...)

    however, i see no reason why that should be hot in all browsers apart from NS6, strange.

    _______________
    Matt
  4. #3
  5. |<.+#f@#+.&.|
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Mar 2002
    Location
    norway
    Posts
    3,009
    Rep Power
    1224
    it works in mozilla 1.1,
    so guess it has been fix in later versions of ns6 aswell.
    as ver 6.1 is pretty old by now,
    get the newer 6.2.3 or 7.0

    and btw, as you already use style on
    your td, why not also put the
    width property in the css.

IMN logo majestic logo threadwatch logo seochat tools logo