Click to See Complete Forum and Search --> : help with tables


leprkn
07-11-2003, 04:52 PM
is it possible to tweak the attributes of cell borders? i know that the table borders themselves can be, but what about the cells?

Jonathan
07-11-2003, 05:12 PM
What do you mean tweak? You can "tweak" with it, but just let me know what you want done and I will see what i can do

leprkn
07-11-2003, 05:42 PM
basically, i want to turn them off. when i make a table in dreamweaver and then ad a border to it, it turns on the cell borders which makes the table look funny

Jonathan
07-11-2003, 08:41 PM
So, you want to turn the TD's off?

fla5hba5h
07-12-2003, 03:23 AM
I don't think you need CSS, if I'm understanding you correctly.
Try putting this instead of the normal table tag:
<table border="0">

David Harrison
07-12-2003, 10:25 AM
I think I know what you mean, you want a border only around the outside of the table.

If I'm right what you could do is set all borders in the table to 0 as shown by fla5hba5h and then place your table inside another one with only one cell.

<table cellpadding="0" cellspacing="0" margin="0" border="1">
<tr><td>

<table> ... <!-- content --> ... </table>

</td></tr>
</table>

I know, I know, it's nested tables but it's a simple way to do it that doesn't require any clever trickery. Also it doesn't need much extra source code.

Jonathan
07-12-2003, 10:29 AM
True, I would have suguested that, but I didn't really know what you were asking for

fla5hba5h
07-12-2003, 12:54 PM
Oh, I get you. You want the border of the cells turned off.

Make this your beginning table tag:
<table style="border:1px solid red">

Replace "red" with whatever color you want. If you want a bigger border, replace "1px" with a size.