Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

masterpage question

Status
Not open for further replies.

dinger2121

Programmer
Sep 11, 2007
439
US
Hello,
I developed a site using a masterpage. Everything is working perfectly within the IDE.
When I copy my files to the server, it seems like the style sheet is not found. None of the styles are applied.
Does anyone have any idea why this might happen?
 
it appears to be correct. The path in the source is showing as ../css/style.css. If I take this and put it into the address bar, I am able to access the style sheet.
 
I was wrong. I assumed that by having ../css/style.css, it would pick up the actual location of the web site. but for some reason it wasn't picking up the virtual directory. I added that into the MasterPage css link url and it worked.



Why wouldn't that virtual directory be picked up automatically?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top