Out of Placed things in server [solved]
-
Hi! I have been programming a web application with ASP.NET (.Net version 2) . when I run it on localhost, all things are correct. but when I upload files on my web server, many things are out of placed. for example: 1. footer of my page: in localhost, it's on center of the page. in server, it's on right of the page. 2. Textbox sizes: in localhost, they are regular size. but in server, they are bigger and out of their regular place. How can I do to correct this problem? Regards.
Mahdi Ghiasi
modified on Friday, February 12, 2010 2:04 AM
-
Hi! I have been programming a web application with ASP.NET (.Net version 2) . when I run it on localhost, all things are correct. but when I upload files on my web server, many things are out of placed. for example: 1. footer of my page: in localhost, it's on center of the page. in server, it's on right of the page. 2. Textbox sizes: in localhost, they are regular size. but in server, they are bigger and out of their regular place. How can I do to correct this problem? Regards.
Mahdi Ghiasi
modified on Friday, February 12, 2010 2:04 AM
I guess you dont have proper css files published properly. Or the browser doesnt download them correctly. Check the View-Source and see if the deployment and development sources are different. There is no way that browser behaves differently when same code is executed. The problem must be in the html generated. You can also look for other external files which are downloaded with the page is working correctly or not. To simplify your task, Use Fiddeler[^] :rose:
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->****
InfoBox Visual Studio 2010 Extension
Windows7 API Code Pack
Simplify Code Using NDepend** -
I guess you dont have proper css files published properly. Or the browser doesnt download them correctly. Check the View-Source and see if the deployment and development sources are different. There is no way that browser behaves differently when same code is executed. The problem must be in the html generated. You can also look for other external files which are downloaded with the page is working correctly or not. To simplify your task, Use Fiddeler[^] :rose:
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->****
InfoBox Visual Studio 2010 Extension
Windows7 API Code Pack
Simplify Code Using NDepend**Good One. :)
Anurag Gandhi. http://www.gandhisoft.com Life is a computer program and every one is the programmer of his own life.