Technical stuff: Windows Visa 64-bit; Visual Studio 2010 C#; 4.0 .NET; XHTML 1.0 Transitional; skill level is beginner to intermediate
I had created a sample 'website' with four files, index.htm, master.css, bandpic1.jpg and circles.jpg via Notepad++. I now want to expand it into a full-fledge website and dumped it into VS to take advantage of 'masterpages' and other things.
I separated out the original index.htm into masterPages.master and default.aspx and copy/pasted the master.css with no changes. Everything looks good code wise...no errors, no warnings. I 'build', then 'run' and everything looks like it should EXCEPT
that I'm missing my header background image.
The code is:
#header {
background-image: url(images/circles.jpg) no-repeat right;
height: 180px;
padding-right: 15px;
border-bottom: 1px solid #DA84DD;
}
I have tried:
* (images/circles.jpg)
* (images\circles.jpg)
* ('images/circles.jpg')
* ("images/circles.jpg")
* (~/images/circles.jpg)
* (~images/circles.jpg)
* breaking code line into individual componets
* putting the circle.jpg in the main directory
What makes this so frustrating is 1) it's the EXACT SAME code as was used previously, 2) I have an image file in my default.aspx page and it renders just time, and 3) this is not the first website that I have redesigned with Visual Studio.
Any assistance is greatly appreciated. Thank you.