Table - Cell Borders

liunx

Guest
I a trying to place a border around a table and have vertical<br />
lines between cells without horizontal lines between cells.<br />
Can this be done with html?<!--content--><table border="1" rules="cols"><br />
<br />
Another way to do this is using css:<br />
td {border: none; border-left: 1px solid black}<br />
table {border: 1px solid black}<br />
<br />
Depending on what you want it for, you may choose one over the other. Rules is valid HTML and XHTML attribute, so neither method is "globally" preferable over the other.<!--content-->Thanks. Was exactly what I needed. I appreciate the effort and quick response. Keepup the great work. It's of real value. Regards ... LeeGee<!--content-->
 
Back
Top