0

我正在开发一个小型 ASP.NET 项目,但只是碰壁了。在一个项目的中间,我开始在不同的浏览器上测试网页,发现在IE9下没有显示ContentPlaceHolderin的内容。MasterPage

当我点击兼容性视图按钮时,它确实显示了,但这不是我的问题的解决方案。

我在其他浏览器中没有这个问题。

您可以自己检查:http ://webservice2.gls-hungary.com/NotificationService/

4

2 回答 2

0

这应该可以解决您的问题

 #containerDiv{clear:both;float:left;display:block;}
于 2011-10-06T08:58:56.533 回答
0

这是一个 css 问题,而不是 asp.net 问题。我已经尝试了一些 css 的东西,它与这个有关

<div style="z-index: 3; position: absolute; padding-bottom: 20px; background-color: white; padding-left: 20px; width: 760px; bottom: 10px; padding-right: 20px; padding-top: 20px; left: 2px;">

例如删除宽度并查看结果...我的建议是使用相对位置和浮动:左;定位您的表格。我对绝对定位没有信心为您提供解决此问题的方法

于 2011-10-06T09:47:17.287 回答