W3C home > Mailing lists > Public > www-style@w3.org > February 2003

Re: [CSS 2.1] 'margin-...' in properties index

From: Christian Roth <roth@visualclick.de>
Date: Sat, 15 Feb 2003 17:19:03 +0100
To: "Joris Huizer" <joris_huizer@yahoo.com>
Cc: "www-style Mailing List" <www-style@w3.org>
Message-Id: <20030215161903.3486@mail.visualclick.de>

Joris wrote:

>This is probably off-topic but... does that mean there
>is no way of expressing the cellspacing/cellpadding
>attributes of <table> in css ?

I think there is a way:


  translates to 

{ border-collapse: separate; border-spacing: Npx; } 

on the <table> element, and


  translates to

{ padding: Npx; } 

on the <cell> element. 'padding' is allowed on internal table elements,
it's only 'margin' that is not.

Received on Saturday, 15 February 2003 11:19:51 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:05 UTC