...

View Full Version : how can I do a table with the border only on the outside?



BarrMan
03-02-2005, 05:26 PM
I would like to do somthing like this:

|-------------------------------------------------------------|
| title title2 title3 title4 |
|-------------------------------------------------------------|

without the inside borders.

mcdougals4all
03-02-2005, 05:33 PM
With CSS you can specify that a border should apply only to the table and style the cells differently if need be. Versus setting the border attribute of the table itself where you have fewer options.



<style type="text/css">
table { border:solid 1px #666; }
</style>

...


<table border="0">
<tr>
<td>
</td>
</tr>
</table>

BarrMan
03-11-2005, 01:30 PM
Ok, Thanks.

I can also do a table inside a table.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum