I got a site looking good in WebMatrix, everything is the way I want. However, when I upload the site (publish through Web Deploy) to the hosting server the site I get doesn't look right. The border corners aren't rounded correctly, some of the UI elements
are out of place.
I own the server it's hosting on.
Are there prerequisites that should be installed on the server that maybe I'm missing?
How your site looks in a browser has nothing to do with Razor or WebMatrix and everything to do with your HTML, CSS and browser. First thing you might want to do is validate your HTML and CSS, although it may be a case of CSS and JavaScript files not being
referenced correctly.
I double-checked everything this morning and I couldn't find any coding problems.
I talked to one of the tech's and they suggested I check my browsers "Intranet sites" security settings to see if the site URL was listed in there. It was. After removing the site from the Intranet zone the site began to look the way it should.
I'm not sure what Intranet zone did, I assume it disabled something but that seemed to do the trick.
Thanks for your help.
Marked as answer by quilnux on Apr 25, 2011 02:27 PM
quilnux
Member
275 Points
84 Posts
WebMatrix view doesn't look the same after posting to hosting server
Apr 25, 2011 01:04 AM|LINK
I got a site looking good in WebMatrix, everything is the way I want. However, when I upload the site (publish through Web Deploy) to the hosting server the site I get doesn't look right. The border corners aren't rounded correctly, some of the UI elements are out of place.
I own the server it's hosting on.
Are there prerequisites that should be installed on the server that maybe I'm missing?
I'm using Razor.
Mikesdotnett...
All-Star
154830 Points
19854 Posts
Moderator
MVP
Re: WebMatrix view doesn't look the same after posting to hosting server
Apr 25, 2011 04:44 AM|LINK
How your site looks in a browser has nothing to do with Razor or WebMatrix and everything to do with your HTML, CSS and browser. First thing you might want to do is validate your HTML and CSS, although it may be a case of CSS and JavaScript files not being referenced correctly.
Beginning ASP.NET Web Pages with WebMatrix | My Site | Twitter
quilnux
Member
275 Points
84 Posts
Re: WebMatrix view doesn't look the same after posting to hosting server
Apr 25, 2011 02:27 PM|LINK
I double-checked everything this morning and I couldn't find any coding problems.
I talked to one of the tech's and they suggested I check my browsers "Intranet sites" security settings to see if the site URL was listed in there. It was. After removing the site from the Intranet zone the site began to look the way it should.
I'm not sure what Intranet zone did, I assume it disabled something but that seemed to do the trick.
Thanks for your help.