Re: td inheriting border-top-width from tr?
by "Tim Rivera" <lists(at)timrivera.com>
|
Date: |
Wed, 7 May 2003 20:10:55 -0400 |
To: |
"Lars Huttar" <lars_huttar(at)sil.org>, <hwg-techniques(at)hwg.org> |
References: |
LarsandKate |
|
todo: View
Thread,
Original
|
|
Hello Lars,
> So I tried setting the style on the <tr>, and hoped it would be
> inherited by all the <td>'s within that row:
> <tr style="border-top-width: 5px !important">
> <td style="border-top-width: inherit !important">2</td>
> ... </tr>
>
> However, this doesn't have any effect:
Table rows are not themselves visible blocks, therefore don't render any
visual properties. If you can give the TR a class, simply style the TD's
contained by that TR:
tr.thick-top td {border-top-width: 5px}
Tim
____________________________________________________________
http://webdesign.meetup.com/ See you at the next meetup!
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA