开发者

Exactly the same Xhtml displays differently depeneding on hostname

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)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜