Re: Porting pages from HTML to CSS.

by "Hans-Henrik T. Ohlsen" <ht(at)ohlsen.dk>

 Date:  Fri, 10 Mar 2000 11:40:11 +0100
 To:  Riboni Ugo <Ugo(at)fiditalia.it>,
"'hwg-style(at)hwg.org'" <hwg-style(at)hwg.org>
 In-Reply-To:  fiditalia
  todo: View Thread, Original
> i have not found CSS corresponding tags to the <TABLE>'s
> cellspacing, cellpadding and border tags.

Use the "padding" tag:

padding-top
padding-right
padding-bottom
padding-left

If you write the shorthand version:

TD { padding : 2em 3em 2em 3em }

You're defining top and bottom paddings of 3 em's and left and right paddings 
of 2 em's in a table cell (data).

Same thing with border -  border-top, border-right etc.

Regards,

Hans-Henrik



mailto:ht(at)ohlsen.dk                             http://www.ohlsen.dk/ht/
www.ohlsen.dk/ht/wap/index.wml   ICQ: 4630900   Telefax: +45 33 33 80 30

HWG hwg-style 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.