border

Discussion in 'HTML' started by xxx, Sep 7, 2003.

  1. xxx

    xxx Guest

    Is it possible to only show the borders around a table and not the borders
    inside the table ?

    An example, this is a simple two row table
    <table width="340" border="1" cellspacing="0" cellpadding="0">
    <tr>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    </tr>
    </table>

    When this table is displayed the line\border that separate the two rows are
    shown (and of course the border around the whole table), I'd like only the
    border around the table to show and the border splitting the table up to be
    hidden or something. Is this possible ?
    Thanks
     
    xxx, Sep 7, 2003
    #1
    1. Advertising

  2. xxx wrote:

    > Is it possible to only show the borders around a table and not the borders
    > inside the table ?


    table { border: thin dotted red; }
    td { border: 0; }

    --
    Toby A Inkster BSc (Hons) ARCS
    Contact Me - http://www.goddamn.co.uk/tobyink/?id=132
    playing://ben_folds_five/whatever_and_ever_amen/09_stevens_last_night_in_town.ogg
     
    Toby A Inkster, Sep 7, 2003
    #2
    1. Advertising

  3. xxx

    xxx Guest

    > > Is it possible to only show the borders around a table and not the
    borders
    > > inside the table ?

    >
    > table { border: thin dotted red; }
    > td { border: 0; }


    Thank you. Can you perhaps recommend a good tutorial on css for me to read.
     
    xxx, Sep 7, 2003
    #3
  4. xxx

    Nico Schuyt Guest

    Nico Schuyt, Sep 8, 2003
    #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. Replies:
    3
    Views:
    607
    Eyck Jentzsch
    Jan 22, 2004
  2. tshad
    Replies:
    0
    Views:
    2,291
    tshad
    Jan 31, 2005
  3. phl
    Replies:
    1
    Views:
    4,385
    Martin Jay
    Jun 8, 2006
  4. Coder
    Replies:
    1
    Views:
    716
    Cowboy \(Gregory A. Beamer\)
    Jun 24, 2006
  5. =?UTF-8?B?TWFydGluIFDDtnBwaW5n?=

    border-color: #003366; border-width: 2px;

    =?UTF-8?B?TWFydGluIFDDtnBwaW5n?=, Jul 17, 2006, in forum: HTML
    Replies:
    64
    Views:
    3,591
    Adrienne Boswell
    Jul 30, 2006
Loading...

Share This Page