Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CSS for DW`s Cellspace ,Cellpad

1 view
Skip to first unread message

estresse

unread,
Apr 5, 2001, 12:42:04 PM4/5/01
to
hi!

What are the corresponding CSS syntax for Dreamweaver`s Cellpad and
Cellspace table
properties?

thanx in advance

estr...@zipmail.com

Rowland Shaw

unread,
Apr 6, 2001, 3:44:29 AM4/6/01
to
Off the top of my head:

<style>
<!--
table tr td {
padding: 4px; /* Equivelent to table cellpadding = 4 */
margin: 4px; /* Equivelent to table cellspacing = 4 */
}
--></style>


"estresse" <estr...@zipmail.com> wrote...

estresse

unread,
Apr 9, 2001, 11:02:59 AM4/9/01
to
hi again!
I`v got to achieve Dreamweaver`s Clellpad=0, Cellspace=0, border=1 table
appearence trough CSS, but neither 'table tr td' nor 'table col td' seem to
work.
Any hint?

thanx once again


Rowland Shaw <spamf...@anotherpointless.org> escreveu nas notícias de
mensagem:uTHEr1mvAHA.2308@tkmsftngp02...

Rowland Shaw

unread,
Apr 10, 2001, 8:11:20 AM4/10/01
to
Not off the top of my head this time, but:

According to: http://www.w3.org/TR/html4/struct/tables.html#edef-TABLE
cellspacing/cellpadding attributes are /not/ depreciated [which I thought
they were] so they need not be replaced by CSS equivelents.

However, theory goes this example below should show no yellow:
<html>
<head>
<style><!--
table, tr, td { padding: none; border: none; margin: none;
border-collapse: collapse; }
--></style>
</head>
<body>
<div style="background-color: red;">
<table style="background-color: yellow;">
<tr>
<td><span style="background-color: blue;">Blah</span></td>
<td><span style="background-color: blue;">Blah</span></td>
<tr>
</table>
</div>
</body>
</html>


"estresse" <estr...@zipmail.com> wrote in message
news:uJPWIZQwAHA.1908@tkmsftngp05...

0 new messages