RE: Reproducing table attributes with CSS

by "Raj Bhaskar" <raj(at)lordofthemoon.com>

 Date:  Thu, 24 Jan 2002 16:47:16 -0000
 To:  Wigmore Pippa <pippa.wigmore(at)knowledgepool.com>
 Cc:  hwg-basics(at)hwg.org
 In-Reply-To: 
  todo: View Thread, Original
> To get a border around each of the cells simply put in a style for the
> cells:
> 
>     TD { border-color: red }

Hmm, I had hoped to avoid having to put td class="foo" in every cell that I wanted to do this in, but 
I guess that that's what I'm going to have to do.  Oh well, no rest for the weary... :o).

> The properties that you want for cell padding and cell spacing are
> 'padding' and 'margin'

Thanks.

> Have a look at the CSS list of properties:
> http://www.w3.org/TR/REC-CSS2/propidx.html.

Thanks for that link.  I usually use the WebReview CSS master list, but that is CSS1 only.

Raj.
-- 
Rajnish Bhaskar
r.bhaskar(at)compserv.gla.ac.uk, http://lordofthemoon.com
IT Education Unit, University of Glasgow
http://www.iteu.gla.ac.uk/
--
Be seeing you...

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

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.