daddyalfie Posted April 23, 2011 Report Posted April 23, 2011 I have this table with four "row-groups" of categories. I would like to shade the groups differently. I know about <colgroup> and <colspan>. I have tired styling the <tr>'s with CSS. I tried to enclose the needed <tr>'s in a div. None of that worked worth a spit in a windstorm! THIS is where you can find the table. I want to group "Amenities" and its associated items. Then "provided" etc. Awaiting an answer that will make me swear at my stupidity! Cheers! Alfie Quote
falkencreative Posted April 23, 2011 Report Posted April 23, 2011 I usually woud add a class to the <tr> and then do something like this: tr.shadedrow td { background: gray; } I've had issues getting a background color on the <tr> to show up properly, so I usually target any <td>s within the <tr>. Quote
daddyalfie Posted April 24, 2011 Author Report Posted April 24, 2011 @Ben That was not the whole answer, but surely the good answer! Why are you not incredibly wealthy and world renowned? With answers like that you should have riches bestowed upon yourself! (Flowers. instead, showered upon you!) (Can you tell I am doing a "happy dance" here?) THIS is what it looks like now. Cheers! Alfie Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.