Click here to Skip to main content
15,922,007 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
In my menu control i put 1 background image(.png). That image doesn't work.why?

background:#7795BD url(menu_bg.png) repeat-x;
Posted

1 solution

Make sure the image URL is correct (really, the same directory as the CSS?) and enclose the URL in quotation marks.

Please see:
http://www.w3schools.com/css/css_background.asp[^].

—SA
 
Share this answer
 
v2

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