cellspacing not working with rules="none"

RESOLVED INVALID

Status

()

RESOLVED INVALID
16 years ago
16 years ago

People

(Reporter: i.dunn, Assigned: karnaze)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

16 years ago
using javascript to set the table cell colours, cellspacing does not work. (The
cell colour would be defined by a function, not as shown below, but this
illustrates the problem!). code snippet below:

<TABLE CELLSPACING="5" CELLPADDING="5" BORDER="0" RULES="none">
<TR>
   <SCRIPT LANGUAGE="javascript" TYPE="text/javascript">
       document.write("<TD bgcolor='#aaaaaa'>");
   </SCRIPT>
   .... 
     next cell
</TR>
</TABLE>
cellpadding is OK, but not cellspacing!

thanks
Nothing to do with JS.  Everything to do with rules="none".  Cellspacing is the
distance between cell borders.  Not sure what should happen to it if you
suppress all cell borders...
Summary: cellspacing not working with javascript → cellspacing not working with rules="none"

Comment 2

16 years ago
specifing rules invokes the collapsed border mechanism which does exclude
cellspacing. 
well, then.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.