Click here to Skip to main content
15,910,358 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want want to make my body background separate from the table .. the problem is that when i implement the background on the body of the html. it will also mixed with the table.

can any one tell me the right way to do it.?? y is it mixing with the table too??
Posted
Updated 30-Dec-11 20:06pm
v2

1 solution

The table is picking up the background of the body because it is in the body element, everything is. If you want the table to have a seperate background either use the Important modifier with the table background css or place the table within a block element, such as a div, and apply the CSS to it.
 
Share this answer
 
Comments
codegeekalpha 30-Dec-11 23:31pm    
any coding example???
[no name] 30-Dec-11 23:48pm    
what happened to developers who could actually think for themselves?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900