![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
header-a header-b header-c header-d | ---------------------------------------------------- | data1a data1b data1c data1d | -----------------------------------------------------| data2a data2b data2c data2d | ______________________________________| |
#2
| |||
| |||
|
|
Ken Loomis wrote: tr.blue { border-top:1px solid #333; } This renders as I would like in FireFox but in IE there are no row borders. Put the border on the td instead: tr.blue td { border-top:1px solid #333; } If borders are collapsed, it should end up a solid line. |
|
BTW, you would be better off using a more generic name for your class selectors, maybe identifying alternate-row or even/odd-row rather than a specific color. What happens when you decide to change the color scheme? Your class names won't make sense any more. |
#3
| |||
| |||
|
|
On Wed, 26 Apr 2006 13:26:15 -0500, kchayka <usenet (AT) c-net (DOT) us> wrote: BTW, you would be better off using a more generic name for your class selectors, maybe identifying alternate-row or even/odd-row rather than a specific color. What happens when you decide to change the color scheme? Your class names won't make sense any more. I hear you, but then again, when you're coding up the html, it's nice to be able to specify the color. If I wanted to change the color I think I would create another style with a different name. I'm a programmer first, so I guess I look at it bassackwords |
#4
| |||
| |||
|
|
Ken Loomis wrote: On Wed, 26 Apr 2006 13:26:15 -0500, kchayka <usenet (AT) c-net (DOT) us> wrote: Put the border on the td instead: tr.blue td { border-top:1px solid #333; } If borders are collapsed, it should end up a solid line. kchayka, thanks so much. MS thinks its border-top works, but it looks to me like it doesn't. WFM. Post a URL. |
![]() |
| Thread Tools | |
| Display Modes | |
| |