CSS Table border problem

Discussion in 'HTML' started by ree, Dec 4, 2003.

  1. ree

    ree Guest

    I am having difficulties in trying do duplicate the usual border look that
    is achieved in normal HTML.

    TABLE.skins { border-collapse: collapse; border: 1px solid #ffcc00; }
    TABLE.skins TD{ border-collapse: collapse; border: 7px solid #475DCC;}



    When i used this code
    I am getting broders for each cell & the row, and therefore I end up with 2
    borders around each cell than the just one ( which I want) which you can
    get by using just HTML.

    Is there a way to overcome this ?
     
    ree, Dec 4, 2003
    #1
    1. Advertisements

  2. ree

    brucie Guest

    in post <news:Xns9447A97C1A5DFreehotmailcoom@211.29.133.50>
    ree said:

    > I am having difficulties in trying do duplicate the usual border look that
    > is achieved in normal HTML.
    >
    > TABLE.skins { border-collapse: collapse; border: 1px solid #ffcc00; }
    > TABLE.skins TD{ border-collapse: collapse; border: 7px solid #475DCC;}
    >
    > When i used this code
    > I am getting broders for each cell & the row, and therefore I end up with 2
    > borders around each cell than the just one ( which I want) which you can
    > get by using just HTML.


    thats not what the above css does so i'm not sure what effect you're
    looking for. is it something like this?

    http://stuff.bruciesusenetshit.info/table-border-thingy.html

    --
    brucie
    04/December/2003 03:39:36 pm kilo
     
    brucie, Dec 4, 2003
    #2
    1. Advertisements

  3. ree

    ree Guest

    ree, Dec 5, 2003
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Shailesh Humbad

    HTML and CSS Table Border Style Wizard

    Shailesh Humbad, May 11, 2004, in forum: HTML
    Replies:
    13
    Views:
    7,869
    Day Bird Loft
    May 18, 2004
  2. Edward Scott
    Replies:
    10
    Views:
    1,022
    kchayka
    Oct 16, 2005
  3. Paul Lautman
    Replies:
    4
    Views:
    567
    Spartanicus
    Mar 27, 2006
  4. phl
    Replies:
    1
    Views:
    4,696
    Martin Jay
    Jun 8, 2006
  5. Replies:
    3
    Views:
    1,111
    richard
    Sep 24, 2006
  6. Replies:
    8
    Views:
    903
    Jonathan N. Little
    Feb 1, 2007
  7. =?Utf-8?B?cm9kY2hhcg==?=

    html table border attribute and css

    =?Utf-8?B?cm9kY2hhcg==?=, Oct 5, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    575
    =?Utf-8?B?cm9kY2hhcg==?=
    Oct 5, 2007
  8. Bernd Meier
    Replies:
    2
    Views:
    664
    J.O. Aho
    Jan 13, 2008
Loading...