Re: Table Border Using CSS

very easy dude

define this as a class in your .css file

.TabTable {
 COLOR:WHITE;
 BACKGROUND-COLOR: navy;
border-right:solid;
border-left:solid;
border-top:solid;
border-bottom:solid}

and then create your table like this

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

good luck

Moazzam

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