I have a web page.
When I view it under localhost it looks开发者_如何学Go ok e.g. http://localhost/MySite/ is fine
When I view it using the specific name of my machine one of the pages renders incorrectly e.g. http://MyMachineName/MySite/
However the Xhtml is identical. This makes no sense to me.
(IIS 5/ASP.NET 3.5/XHTML Transitional)
Based on the comments above.
Make sure compatibility mode is set for both localhost and the machine name.
(this answer is just for others who may come across this question. The OP solved this themselves)
精彩评论