|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Whats the CSS equivalent of "cellspacing"
I had this table on my site:
Code:
<table border=0 width=750 cellpadding=0 cellspacing=0"> Code:
<table class="maintable"> Code:
border: 0; width: 750px; |
|
#2
|
||||
|
||||
|
CSS2 Has a table property called border-spacing which is the equivalent of the table attribute cellspacing. There's just one itty bitty problem: None of the major browers supports this property. That doesn't mean it won't work, it might, I haven't tried it but, I've seen things work in IE that weren't supposed to.
for more info: http://www.w3schools.com/css/css_reference.asp#table Last edited by Tundra : July 29th, 2002 at 06:00 PM. |
|
#3
|
|||
|
|||
|
for cellpadding it's:
padding: you can also control the four sides individually with: padding-top: padding-bottom: padding-right: padding-left: ============= justin_dago ============= |
|
#4
|
|||
|
|||
|
People love to argue about this kind of thing...
http://www.evolt.org/article/CSS_Ta...rward/17/17798/ |
|
#5
|
||||
|
||||
|
Yeah, the general rule is, it doesn't work everywhere. So don't count on it.
|
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Whats the CSS equivalent of "cellspacing" |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|