Table tests in IE6

K

KiwiBrian

Assume that I have a simple 2 X 2 table with a single text character in each
cell..
By applying the following CSS styles I can create row and column borders.

..table1 {border: 5px solid black; border-collapse: collapse;}
..table1 td {border: 2px solid red;}

By applying the following CSS and in-line HTML I can create cell borders and
control cell spacing.

HTML style applied to the table tag:- cellspacing="10"
CSS styles:-
..table2 { border: 5px black solid; }
..table2 td { border: 2px red solid; }

My question is whether it is possible to combine the above two effects, and
control cell borders and cell spacing, inside row and column borders.

I am also interested in whether there is a CSS alternative to needing to use
an in-line HTML style to control cell spacing.

Many thanks
Brian Tozer
 
D

David Dorward

KiwiBrian said:
I am also interested in whether there is a CSS alternative to needing to
use an in-line HTML style to control cell spacing.

border-spacing, which is unsupported by MSIE.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,225
Members
46,815
Latest member
treekmostly22

Latest Threads

Top