[thelist] Using CSS to disable table tag's cellspacing attribute

P Chen info at designbychen.com
Fri Feb 27 11:55:45 CST 2009

Here's what I tried:
<script type="text/javascript">

...and also your code below, but couldn't get either to work. 

There's no class name for the table, so I'm not sure I could target it using
your method, which seems much simpler.


-----Original Message-----
From: Lee Kowalkowski [mailto:lee.kowalkowski at googlemail.com] 
Sent: Thursday, February 26, 2009 2:08 PM
To: info at designbychen.com; thelist at lists.evolt.org
Subject: Re: [thelist] Using CSS to disable table tag's cellspacing

2009/2/25 P Chen <info at designbychen.com>:
> I've looked at using expressions, but there doesn't seem to be a CSS
equivalent that I could use to 'inherit' the attribute.

As Sarah said, it's border-collapse, but this only works in IE7 if
cellspacing has not been specified.

> I've also tried using some javascript to remove it, but couldn't get it to
work, and I guess it's less than ideal in terms of useability.

That does work for me.  What did you try?  I have this:

myTable.cellSpacing = 0;

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.237 / Virus Database: 270.11.3/1974 - Release Date: 02/26/09

More information about the thelist mailing list