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

    Join Date
    Nov 2003
    Posts
    15
    Rep Power
    0

    Question CSS and table border


    In XHTML strict, the bordercolor attribute (of the table tag) is not allowed. Does anyone know if it's possible to specify the bordercolor using CSS? I've try using the CSS "border-color" for the table, only the outside of the table is colored (the lines that make up the interior are not colored). How can I also get the border of my cell to be color.

    Note: I am trying to get familiar with CSS and I am only at a learning stage.
  2. #2
  3. Big Daddy
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Sep 2003
    Location
    Boston
    Posts
    1,473
    Rep Power
    37
    Simply create another css class and use that for the <td>.

    Chris
    Pop, pop, fizz, fizz, oh what a relief it is!
  4. #3
  5. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Location
    city of sin, state of the art
    Posts
    421
    Rep Power
    0
    SexyDevil!! hehe nice name

    haha anyway...

    try setting your cell border to the same color....

    td {border: blue;}

    good lucky and ROCK ON!!
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    15
    Rep Power
    0
    Thank you, your help is surely appreciated. I have to say that CSS can do so many things it is almost scary when you start using it for the first time.
  8. #5
  9. Über nübe
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Location
    Babylon 4
    Posts
    240
    Rep Power
    12
    Originally posted by SexyDevil82
    I have to say that CSS can do so many things it is almost scary when you start using it for the first time.
    I'll drink to that. :beer:
    Hello, old friend...
  10. #6
  11. Big Daddy
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Sep 2003
    Location
    Boston
    Posts
    1,473
    Rep Power
    37
    I will, too.

    Wait, let me change my Avatar!

    <~~~~~~~~

    Chris
    Pop, pop, fizz, fizz, oh what a relief it is!

IMN logo majestic logo threadwatch logo seochat tools logo