Last post Sep 05, 2016 07:04 AM by Deepak Panchal
Dec 05, 2011 06:38 AM|sheen_buhay|LINK
I am unable to display my CSS background-image in my web form with several attempts failed.
I've tried these several attempts such as:
I place my images on my /imgmenu folder on the application root under /WebApplication1 folder, my css file is declared properly.
I could not figure it out on what went wrong.
Please help. Thanks.
Dec 05, 2011 06:47 AM|Chetan Chopade|LINK
where is ur css file is stored.?
Dec 05, 2011 06:47 AM|gaikwad_anil1987|LINK
use like this
Dec 05, 2011 06:49 AM|kedarrkulkarni|LINK
the image folder path should be relative to css file... so this might work considering there are two separate folders one for css and other for image
also, make sure the folder name is imagmenu and not imagemenu... (is e missing in foldername? a thought)
hope this helps...
Dec 05, 2011 06:50 AM|Swathi Nagaraj|LINK
Dec 05, 2011 10:00 PM|sheen_buhay|LINK
kindly refer to this 3 links:
Dec 06, 2011 01:45 AM|kedarrkulkarni|LINK
did u try this
this should work
Dec 06, 2011 03:56 AM|sheen_buhay|LINK
I've tried your suggestion however it's still not working.
Jan 04, 2012 06:10 AM|MichaelZannettis|LINK
you have to create all of the subfolder from within the program. do not create new folders using windows explorer. create a folder named i.e. "Images" by right clicking on your site and then New Folder. then drag and drop any images you want to use into
that folder! then use the images you would usually do in the CSS file!
Jun 17, 2012 01:51 AM|sanjananb|LINK
There should be a problem in your image folder
Jul 09, 2012 03:04 AM|prakashslm|LINK
why you sould not use the theme folder that is used in ASP.NET. so that you can have all css and images under one place.
Sep 05, 2016 07:04 AM|Deepak Panchal|LINK
Try to do like below. it will work.
background-image: url("c:\users\v-padee\documents\visual studio 2015\Projects\WebApplication12\WebApplication12\website-design-background.png");