简体   繁体   中英

asp.net background is not appearing in the browser

I just start making web site in asp.net using microsoft visual studio 2008. I have called a css file and make a background image in one of my div in header. The problem is that that background image loads in the design part of the microsoft visual studio but does not loads in the web browser. I am not getting type of design what i want. Should i have to add anything extra with?

{background-image:url('header_‌​bg_2.jpg'); background-repeat:repeat-x;}

Try this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM