Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Master Files & Security Access to database
Message
De
15/04/2010 17:27:36
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
15/04/2010 13:20:18
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01460350
Message ID:
01460408
Vues:
29
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform