[thelist] table borders
Ken Schaefer
ken at adOpenStatic.com
Sat Aug 30 09:20:18 CDT 2003
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Diane Soini" <dianesoini at earthlink.net>
Subject: [thelist] table borders
...
: I can't figure out a way to get odd/even row colors (using
: class attribute on <tr>, not on <td>), 1px solid color cell
: borders (css puts border in each cell, for an overall appearance
: of 2px, and border="1" attribute isn't solid) and borders that
: show even if a <td> is empty of data.
...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can't figure out which part:
a) how to get odd/even row colours using class attributes on the <tr>?
b) how to get only 1px solid cell borders?
c) borders that show even if the <td> is empty?
a) <tr style="background-color: #cccccc;">
<td> </td>
</tr>
works for me
b) <table style="border-collapse: collapse;">
should collapse the table cell borders for you
c) AFAIK, You need to put something in the table data cell, even if it's
only a space.
Cheers
Ken
More information about the thelist
mailing list