W3C home > Mailing lists > Public > www-html@w3.org > June 2001

Re: Table Border Using CSS

From: Moazzam Ahmed <moazzam@ahmed.net>
Date: Fri, 29 Jun 2001 09:37:59 -0500
Message-ID: <3B3C92C7.33A94B96@ahmed.net>
To: Paul Bonugli <paulbonugli@hotmail.com>
CC: www-html@w3.org
very easy dude

define this as a class in your .css file

.TabTable {

and then create your table like this

<table class="TabTable"> your table stuff here </table>

good luck


Paul Bonugli wrote:

> Hi Everybody!
> Does anybody know a way of using CSS to create a coloured border AROUND A
> TABLE. I know that you can somehow put this around a paragraph, but I'm not
> sure how you could use CSS to specify a table border colour. At present I am
> using the "bordercolor" table attribute, but since this is not an official
> part of HTML, it only works on Internet Explorer, and since the rest of the
> site is now using CSS I would like to convert this too.
> Maybe there are other ways of doing this using HTML? (but I would rather not
> create 1px images to stretch out, unless I absollutely have to)
> Any help will be gratefully received!
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Received on Friday, 29 June 2001 10:38:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:57 UTC