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!

ASP.NET not displaying correctly in Browser

Status
Not open for further replies.

toddw607

Programmer
Apr 2, 2007
55
US
When I'm in Visual Studio and right click on my code and click "view in browser" then it displays just the way I want it to but when I place it in a folder on the remote server and type the address in the explorer bar (eg: the page comes up but the format is not the way I would like it to be. Any thoughts on what I could do to make it display like it does when I click the "view in browser" command?
 

The way I want it to display is to give the site map on the top left hand side, with colors. When I bring it up right now the site menu is at the bottom and there are not any colors or boxes around the site names like there should be. Does that help any?
 
Sounds like you styles aren't being applied. Do you have a css file that exists in your test environment and not on your remote server that you are calling in you aspx file??

[monkey][snake] <.
 
I have a css file in my test environment but for some reason it is not accessing it. Any ideas?
 
I've even cleared out my folder on the server in case an different css or xsl file was controlling my file but nothing worked. Could it be that there is a library in Visual Studio.Net that would control how it is displayed? I ask this because when I access the file on my machine or on the server from VS then everything works fine but when I attempt to bring it up through IE then it comes up in the wrong format.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top