A table with no right border colour

Discussion in 'HTML' started by Marianne, Feb 25, 2004.

  1. Marianne

    Marianne Guest

    Would it be possible to make a table with black borders exept on the right
    side of the table ?

    Marianne
     
    Marianne, Feb 25, 2004
    #1
    1. Advertising

  2. Marianne

    Els Guest

    Marianne wrote:

    > Would it be possible to make a table with black borders exept on the right
    > side of the table ?


    Have you tried at all?


    --
    Els

    Sonhos vem. Sonhos vão. O resto é imperfeito.
    - Renato Russo -
     
    Els, Feb 25, 2004
    #2
    1. Advertising

  3. Marianne schrieb:
    >
    > Would it be possible to make a table with black borders exept on the right
    > side of the table ?


    Yes.

    table {border:solid 1px black; border-right:none;}


    Matthias
     
    Matthias Gutfeldt, Feb 25, 2004
    #3
  4. Marianne

    mscir Guest

    Marianne wrote:
    > Would it be possible to make a table with black borders exept on the right
    > side of the table ?


    Try this, adjust the values for different looks:

    <style type="text/css">
    table {
    border-top: solid 2px #000000;
    border-left: solid 2px #000000;
    border-bottom: solid 2px #000000;
    }
    TD {
    border-left: solid 1px #000000;
    border-bottom: solid 1px #000000;
    border-top: solid 1px #00000;
    }
    </style>
    <title>Custom Table Borders</title>
    </head>

    <body>

    <table border="0" cellspacing="1" width="60%">
    <tr>
    <td width="50%">&nbsp;</td>
    <td width="50%">&nbsp;</td>
    </tr>
    <tr>
    <td width="50%">&nbsp;</td>
    <td width="50%">&nbsp;</td>
    </tr>
    </table>
     
    mscir, Feb 25, 2004
    #4
    1. Advertising

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. Mike Azzopardi

    Image Border colour

    Mike Azzopardi, Feb 25, 2006, in forum: HTML
    Replies:
    16
    Views:
    6,126
    Neredbojias
    Feb 27, 2006
  2. phl
    Replies:
    1
    Views:
    4,420
    Martin Jay
    Jun 8, 2006
  3. Wombatwal

    horizontal rule and border colour

    Wombatwal, Sep 4, 2006, in forum: HTML
    Replies:
    5
    Views:
    663
    Jonathan N. Little
    Sep 4, 2006
  4. Mark Rae
    Replies:
    1
    Views:
    394
    Mark Rae
    Jan 17, 2007
  5. jodleren
    Replies:
    2
    Views:
    217
    Thomas 'PointedEars' Lahn
    Jan 12, 2008
Loading...

Share This Page