inherit
25142
0
Apr 3, 2019 20:28:05 GMT -8
BrotherHolmes
I'm studying for my A+
741
May 2004
redmage
|
Post by BrotherHolmes on Aug 24, 2005 13:43:49 GMT -8
I need to know something...
What CSS do you use instead of < table cellspacing=?
It's not going to be used on my boards, but I don't really know where else to ask.
|
|
inherit
Warning: NOT a Gouki Racing member. (Expires never) AND Warning: Renegade is not a Googlebot. (Expires whenever)
23936
0
Jul 10, 2006 3:41:34 GMT -8
Internet/Web/UserX
3,180
May 2004
pleletmeinase
|
Post by Internet/Web/UserX on Aug 24, 2005 14:43:08 GMT -8
Try this, Its pretty long to work for different browsers table{ border-collapse: collapse; } table{ border-collapse: collapse; border-width: 5px; } table{ border-collapse: collapse; border-spacing: 5px; }
|
|
inherit
22517
0
Apr 30, 2009 18:49:13 GMT -8
Bradley
Has a new webhost. :) Needs to transfer a lot of stuff. :-/
5,246
April 2004
ccworldwebmaster
|
Post by Bradley on Aug 24, 2005 17:45:21 GMT -8
Try this, Its pretty long to work for different browsers table{ border-collapse: collapse; } table{ border-collapse: collapse; border-width: 5px; } table{ border-collapse: collapse; border-spacing: 5px; } *tires in IE and FF* That doesn't work. <html> <head> <title>Test</title> <style type="text/css"> body { background-color: #000; } td { background-color: #fff; color: #000; } table{ border-collapse: collapse; background-color: #000; } table{ border-collapse: collapse; border-width: 5px; } table{ border-collapse: collapse; border-spacing: 5px; } </style> </head> <body> <table> <tr> <td>Cell 1</td> <td>Cell 2</td> <td>Cell 3</td> </tr> <tr> <td>Cell 4</td> <td>Cell 5</td> <td>Cell 6</td> </tr> <tr> <td>Cell 7</td> <td>Cell 8</td> <td>Cell 9</td> </tr> </table> </body> </html>theccworld.com/test.htm
If you use this it sort of works, but in IE you can't change the amount of space. It stays a 1px. <html> <head> <title>Test</title> <style type="text/css"> body { background-color: #000; } td { background-color: #fff; color: #000; } table{ border-collapse: separate; background-color: #000; border-spacing: 5px; } </style> </head> <body> <table> <tr> <td>Cell 1</td> <td>Cell 2</td> <td>Cell 3</td> </tr> <tr> <td>Cell 4</td> <td>Cell 5</td> <td>Cell 6</td> </tr> <tr> <td>Cell 7</td> <td>Cell 8</td> <td>Cell 9</td> </tr> </table> </body> </html>theccworld.com/test1.htm
|
|
inherit
25142
0
Apr 3, 2019 20:28:05 GMT -8
BrotherHolmes
I'm studying for my A+
741
May 2004
redmage
|
Post by BrotherHolmes on Aug 24, 2005 18:56:56 GMT -8
what does collapse and separate mean?
|
|
inherit
The Jedi Master of Proboards PBS Oscars: Most Unique
6777
0
Nov 19, 2012 0:15:08 GMT -8
Tommy Huynh
Coffee isn't my cup of tea.
19,374
January 2003
swg2
|
Post by Tommy Huynh on Aug 25, 2005 3:54:21 GMT -8
|
|
inherit
25142
0
Apr 3, 2019 20:28:05 GMT -8
BrotherHolmes
I'm studying for my A+
741
May 2004
redmage
|
Post by BrotherHolmes on Aug 28, 2005 4:47:35 GMT -8
thank you, but that doesn't work on Internet Explorer
|
|
inherit
Proboards Legend
212
0
May 11, 2006 12:32:55 GMT -8
california
21,035
December 1999
california
|
Post by california on Aug 28, 2005 15:09:29 GMT -8
The second code CCWorld gave works fine on IE.
|
|
inherit
The Jedi Master of Proboards PBS Oscars: Most Unique
6777
0
Nov 19, 2012 0:15:08 GMT -8
Tommy Huynh
Coffee isn't my cup of tea.
19,374
January 2003
swg2
|
Post by Tommy Huynh on Aug 29, 2005 21:31:36 GMT -8
|
|
inherit
22517
0
Apr 30, 2009 18:49:13 GMT -8
Bradley
Has a new webhost. :) Needs to transfer a lot of stuff. :-/
5,246
April 2004
ccworldwebmaster
|
Post by Bradley on Aug 30, 2005 11:37:24 GMT -8
It doesn't quite work that way for table cells. Try it. I did and it didn't work right. You use the border-collapse with the border-spacing properties to achieve the right results as I did in my second example.
|
|
inherit
RIP- Proboards Legend
39218
Conquester777 Conquester777
0
Oct 11, 2005 6:36:29 GMT -8
Conquester777
CirclesAreFun
4,008
March 2005
cq777
|
Post by Conquester777 on Sept 2, 2005 0:47:17 GMT -8
the advice ive been given when ive asked that question was...
there is none.
dont bother using a css equivilent, just use the html.
|
|