Re: borders around tables...

by "Tim Rivera" <lists(at)timrivera.com>

 Date:  Sat, 30 Aug 2003 21:04:32 -0400
 To:  <hwg-basics(at)mail.hwg.org>
 References:  S0026260871
  todo: View Thread, Original
> Hi, everyone.  I have a question.  I am wanting to create a table that
> contains several rows and columns.  I want to have a border around the
> outside of the table only.


To have a border around only the table, simply give a border to the table:
table {border: 1px solid}

If you want borders around the cells as well, include that element in the
selector:
table, td {border: 1px solid}


Tim
____________________________________________________________
http://webdesign.meetup.com/     See you at the next meetup!

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA