View Single Post
Old 02-05-2013, 08:19 PM   PM User | #7
alykins
Senior Coder

 
alykins's Avatar
 
Join Date: Apr 2011
Posts: 1,608
Thanks: 37
Thanked 183 Times in 182 Posts
alykins will become famous soon enough
Quote:
Originally Posted by samuelito.mcf View Post
Ok I see now. I'm still not sure why when I add the ../ it only works for some and not others. But I did solve the problem by using
Code:
separate master pages
I would not do that. That is the opposite of coding theory (make consolidated reusable code). Creating and entirely new master page to accomodate a relative path is.... bad. Play around with the dot's and slahses until you get it right. That's why I said do it first, before you have invested a lot into the project and start-ups for the app are quick. You also need to make sure you are clearing your cache. The simplest way I have found to do this is to put a simple .png in the folders I want to map- then it will either load the image or it won't... then once everything is kosher, remove the image and links to it (but copy the path structure!!!)
__________________

I code C hash-tag .Net
Reference: W3C W3CWiki .Net Lib
Validate: html CSS
Debug: Chrome FireFox IE
alykins is offline   Reply With Quote