| | |
|
|
|
CSS class in <td> or <tr>? |
| message from Ivan Wiegand on 20 Jul 2004 |
I have a repeating reagion applied to a row <tr> with a border specified in
a CSS class. The border is on the bottom only so there is a line in between
each record. When I apply the style to the <tr> the line does not show. When
I apply the style to each <td> individually, the line shows up. I would much
rather use my styles in the <tr> whenever possible.
A little help? :) thanks.
-Ivan
|
| Anton_FA replied to Ivan Wiegand on 20 Jul 2004 |
Hi Ivan
It looks like you have discovered the answer for yourself.
The border will only show when the css class is used in <td> - atleast in IE.
|
| Michael Fesser replied to Ivan Wiegand on 21 Jul 2004 |
.oO(Ivan Wiegand)
Use a descendant selector.
tr.yourClass td {border-bottom: 1px solid #000}
HTH
Micha
|
|
Archived message: CSS class in <td> or <tr>? (Macromedia Dreamweaver Web Design)