hwg-basics archives | Jan 2003 | new search | results | previous | next |
Re: CSS and table cell bordersby "Tim Rivera" <lists(at)timrivera.com> |
|
> I can also put 'border-right: solid 1px #000080' in the stylesheet for all > the td cells (except the last column) in that particular table, which allows > me to do exactly what I want, but I'd have to go through and add it to every > one separately (34 rows x 5 columns = 170 times!). Since I have several > tables other than this one, I can't use search and replace. Why would you have to add inline styles to every cell? Just use your style sheet. table.thistable td {border-right: solid 1px #000080} <table class="thistable"> <tr> <td>All these cells have a green border on the right side</td> <td>All these cells have a green border on the right side</td> <td>All these cells have a green border on the right side</td> </tr> </table> Tim
HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA