|
-
Aug 23rd, 2005, 04:04 AM
#1
Thread Starter
Fanatic Member
CSS: tr under what table
Dunno if I posted the title correctly. Sounds silly. I need help here with CSS. I'm wanting to almost like inherit. Sorry for my bad explanation. I don't know much about CSS. So, I'll illustrate a bit.
I have a table and wanted to be darkgrey and all tr of that table is lightgrey. And I have .navigator class and called it something like
<table class="navigator">
and I don't want to call <tr class="somelightgreyclass"> to all tr. How do I apply a lightgrey to all tr inside the table having the class navigator?
Thanks in advance.
Last edited by nebulom; Aug 23rd, 2005 at 04:48 AM.
-
Aug 23rd, 2005, 04:12 AM
#2
Thread Starter
Fanatic Member
Re: CSS: tr under what table
I guess this solves it
table.navbar{
background:#c7c7c7;
}
table.navbar *{
background:#efefef;
}
Anyone has another solution? Please post. Thanks.
-
Aug 23rd, 2005, 05:29 AM
#3
PowerPoster
Re: CSS: tr under what table
table.navbar tr{
background:#efefef;
}
isn't it?
-
Aug 23rd, 2005, 06:53 AM
#4
Re: CSS: tr under what table
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|