Hi. I was working on a skin for my site and I ran into a table problem. All tables take the background appearance of the body background. Ex. http://img32.imageshack.us/img32/2018/capturen.th.png The table is in a DIV called "news_text" which background is #e9e9e9; (from #container)
I don't understand why its doing this. Help!
Note: Here is some of the CSS for that content area
In your Selector "body,td,th" commas separate out different HTML elements you will applying the CSS too. So you are applying that background image to all <body> tags, all <td> tags and all <th>s.
A <td> is the table cell. So every table cell has that same background image....
I was working on a skin for my site and I ran into a table problem.
All tables take the background appearance of the body background.
Ex.
http://img32.imageshack.us/img32/2018/capturen.th.png
The table is in a DIV called "news_text" which background is #e9e9e9; (from #container)
I don't understand why its doing this. Help!
Note: Here is some of the CSS for that content area
That's pretty simple:
body,td,th {font-family:Arial, Verdana;
background-image:url('images/theme/bg.png');
color: #191919;
}
In your Selector "body,td,th" commas separate out different HTML elements you will applying the CSS too. So you are applying that background image to all <body> tags, all <td> tags and all <th>s.
A <td> is the table cell. So every table cell has that same background image....