Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Master Files & Security Access to database
Message
From
15/04/2010 17:27:36
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
15/04/2010 13:20:18
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01460350
Message ID:
01460408
Views:
30
>Hi,
>
>1. My pages do not have the same look as they do within Visual Studio. I've used Master files and my header and footers and background aren't showing up.
>

The problem is most likely the url path in the CSS file for images. Depending on where you deployed your application you may have to resolve the url differently in the CSS file. For instance:

On my development I have in my css an image url as url('/Images/head.jpg')
but when I deployed this I deployed it to a virtual directory underneath another application. Even though it was in a virtual directory it had to resolve from the root of the original web. Sorry, I don't know too much technical about that, but had to change it to this.
url('/Sandbox/RMS/Images/head.jpg')

So you need to figure out exactly where your images are in relation to the rest of the web. You may even get away with using '~/Images/head.jpg. or ../Images/head.jpg
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform