ASP.Net MEnu Problemhttp://forums.asp.net/t/1606410.aspx/1?ASP+Net+MEnu+ProblemMon, 27 Sep 2010 08:29:50 -040016064104097864http://forums.asp.net/p/1606410/4097864.aspx/1?ASP+Net+MEnu+ProblemASP.Net MEnu Problem <p>Hi,</p> <p>I have a page with an ASP.Net menu that also uses the CSS Friendly Adapter. WHen viewing the page on Localhost, it displays fine. When viewing the page on a remote webhost, it doesn't display properly. The Page source for both pages looks the same and the CSS file is viewable on the remote webhost. Here is what the menu looks like on localhost:</p> <p><img src="http://i915.photobucket.com/albums/ac358/dec_obrien/Local.jpg"></p> <p>Here is what the menu looks like on remote webhost:</p> <p><img src="http://i915.photobucket.com/albums/ac358/dec_obrien/Host.jpg"></p> <p>ANy ideas?</p> <p>&nbsp;</p> <p>&nbsp;</p> 2010-09-25T15:23:59-04:004097922http://forums.asp.net/p/1606410/4097922.aspx/1?Re+ASP+Net+MEnu+ProblemRe: ASP.Net MEnu Problem <p></p> <blockquote><span class="icon-blockquote"></span> <h4>dec_obrien</h4> Page source for both pages looks the same and the CSS file is viewable on the remote webhost</blockquote> &nbsp; <p></p> <p>Looks like you webpage cannot find the CSS file. If ou say the CSS file is viewable, you mean that you can enter the url to the CS file and then you see it?</p> <p>Show us&nbsp;the link to the CSS file in your web page, Most likely this link isn't right?</p> 2010-09-25T17:02:51-04:004097947http://forums.asp.net/p/1606410/4097947.aspx/1?Re+ASP+Net+MEnu+ProblemRe: ASP.Net MEnu Problem <p>WHen I enter the url for the CSS file, it works i.e. it displays&nbsp;the CSS</p> <p>THese are the three files linked in&nbsp;the head section of the page (which is a master page):</p> <pre class="prettyprint">&lt;link href=&quot;~/Main_Template_files/Aldolex.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;link href=&quot;~/Main_Template_files/AldolexMenu.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt; &lt;link href=&quot;~/Main_Template_files/SwapScripts.js&quot; rel=&quot;script&quot; type=&quot;text/javascript&quot;/&gt;</pre> <p><strong></strong><br> &nbsp;As I said in the previous post though, it works on the Localhost so I can't figure out why it would be different on the remote one.</p> 2010-09-25T17:49:18-04:004097961http://forums.asp.net/p/1606410/4097961.aspx/1?Re+ASP+Net+MEnu+ProblemRe: ASP.Net MEnu Problem <p>So your css files are located in the Main_Template_files folder in the root of your website?</p> <p>and you can see them when you enter?</p> <p><a href="http://www.yourwebsite.com/Main_Template_files/aldolex.css">http://www.yourwebsite.com/Main_Template_files/aldolex.css</a></p> <p></p> <blockquote><span class="icon-blockquote"></span> <h4>dec_obrien</h4> THese are the three files linked in&nbsp;the head section of the page (which is a master page):</blockquote> &nbsp; <p></p> <p>Is the webpage located in the root of the website or inside a folder?</p> <p>&nbsp;Next look in the rendered HTML when opening the page. if your webpage is inside the root, is the href attribute</p> <p>href=&quot;Main_Template_files/Aldolex.css&quot;</p> <p>Or when it is located in a folder</p> <p>href=&quot;../Main_Template_files/Aldolex.css&quot;</p> 2010-09-25T18:03:42-04:004097968http://forums.asp.net/p/1606410/4097968.aspx/1?Re+ASP+Net+MEnu+ProblemRe: ASP.Net MEnu Problem <p>Here is the structure of the site:</p> <p><img src="http://i915.photobucket.com/albums/ac358/dec_obrien/Site.jpg"></p> <p>&nbsp;And here is the rendered page:</p> <pre class="prettyprint">&lt;link href=&quot;../Main_Template_files/SwapScripts.js&quot; rel=&quot;script&quot; type=&quot;text/javascript&quot; /&gt;</pre> <p>so I think it looks right (but there's obviously something wrong!)<br> </p> 2010-09-25T18:21:25-04:004099311http://forums.asp.net/p/1606410/4099311.aspx/1?Re+ASP+Net+MEnu+ProblemRe: ASP.Net MEnu Problem <p>really nice share&nbsp; ;)<br> </p> 2010-09-27T08:29:50-04:00