Forum Moderators: not2easy

Message Too Old, No Replies

Borders round table rows not whole table or cells

         

Bally

8:06 am on Apr 5, 2005 (gmt 0)

10+ Year Member



I've got a table with two rows and two columns and I want each row to have a border around the outside but not on the inside and no border around the table.

Is there any easy way to do this rather than having to specify a border style for each cell.

thanks

Bal

Blackie

8:38 am on Apr 5, 2005 (gmt 0)

10+ Year Member



Make a <tr class="xx"> with border settings that you want

sifredi

12:27 pm on Apr 5, 2005 (gmt 0)

10+ Year Member



tr { border: 1px; }

...should be enough.

Bally

1:32 pm on Apr 5, 2005 (gmt 0)

10+ Year Member



tried both of those and no luck don't seem to be able to set borders for a tr tag

benihana

1:39 pm on Apr 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



td {
border:0;
border-bottom:1px solid #000;
}

;)

Bally

6:22 pm on Apr 5, 2005 (gmt 0)

10+ Year Member



thanks, but that only gives me a border at the bottom I need it around all four sides. So far the only way i've been able to do it is to give each of the cells individual borders e.g left cell has left and top border right has right and top border etc.