[thelist] Question: CSS with tables

Dan Williams dan at ithium.net
Wed Sep 24 12:36:21 CDT 2003


I think you need to apply padding: 0px to the table cell itself, ie.

td { padding: 0px; }

That applies to a lot of other properties too. Remember that some things
apply to the table itself but others apply to the cells. That should
help you determine which to apply the CSS to.




-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Kiddy, Jon
Sent: 24 September 2003 16:26
To: thelist at lists.evolt.org
Subject: [thelist] Question: CSS with tables


What is the CSS equivilant of cellpadding="0"?


What I'm currently using:

<html>
<table class="border"><tr><td>...</td><tr></table>
</html>

<css>
.border {border-collapse:collapse; width:100%;}
</css>

What am I missing? (Did google search and the like.)

TIA
-Jon   (Looking forward to go tableless in near future, but not at this
time.)
-- 
* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 




More information about the thelist mailing list