Click here to Skip to main content
15,917,059 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have this CSS atrribute for the body of my page and it is not coming thru. Any ideas? The file is in the Styles folder right off the root directory. It is just a texture image. It shows in the designer, just not on the site. I am viewing in Chrome. Thanks...

CSS
body{background-image:url('/Styles/blue108.jpg'); background-repeat:repeat;}
Posted
Updated 14-Feb-14 12:10pm
v3
Comments
You can see if it is coming or not in Developer Tool by selecting anywhere on body. Check if image is showing there or not.

1 solution

Check up file name. You use absolute file path, which makes finding of the file depending on the root directory of the site. Test your sites accurately.
—SA
 
Share this answer
 

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