hey guys.
How would you define cell spacing in css? I know cell pading is cell-padding: 0px; or whatever. Thanks
Sketch
| SitePoint Sponsor |
hey guys.
How would you define cell spacing in css? I know cell pading is cell-padding: 0px; or whatever. Thanks
Sketch





I dont think there is a property in CSS1 for cell spacing.
Here is a link to all the different selectors you can have.
You could usethe margin property for a similar effect in a <td> though.
Glen
Last edited by glenplake; Jan 8, 2002 at 10:09.
The margin property doesnt apply to table cells.
Theres no reason to not use cellspacing and cellpadding in the table tag, these are still valid attributes even in XHTML Strict.
THE INSTRUCTIONS BELOW ARE OLD AND MAY BE INACCURATE.
THIS INSTALL METHOD IS NOT RECOMMENDED, IT MAY RUN
OVER YOUR DOG. <-- MediaWiki installation guide




Sir Sketch,
The CSS equivalent of cellspacing is the border-spacing prop.
If I remember correctly, it won't work in IE5.5 though. Not sure if thats been remedied in IE6.





It must not work in IE6, either.Originally posted by isotope235
The CSS equivalent of cellspacing is the border-spacing prop.
Bookmarks