Visual Studio 设计时间和固定布局表 - 您的意见
我即将向 Microsoft 提交错误。
下面的 html 在浏览器中显示正常,但在 VS 设计器中它使整个页面可滚动 - 因为表格没有被 div 剪切:
<div style="width: 800px; height: 100px; overflow: scroll;">
<table style="table-layout:fixed">
<tr>
<td style="width:1600px">1</td>
</tr>
</table>
</div>
也许您知道已经报告了类似的错误?
或者也许你知道如何应对这个问题?
I'm about to submit a bug to Microsoft.
The following html is displayed fine in a browser, but in VS designer it makes the entire page scrollable - as the table isn't clipped by the div:
<div style="width: 800px; height: 100px; overflow: scroll;">
<table style="table-layout:fixed">
<tr>
<td style="width:1600px">1</td>
</tr>
</table>
</div>
Maybe you know similar bugs being already reported?
Or maybe you knows how to fight this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看来这个问题是 Visual Studio Web Designer 的限制。 相应的请求已提交给 Microsoft:
在 VS2008 Web 设计器中固定-布局表不会被溢出属性设置为“滚动”的 div 裁剪 | 微软连接
It seems that this issue is the Visual Studio Web Designer limitation. The corresponding request has been submitted to Microsoft:
In the VS2008 web designer a fixed-layout table isn't clipped by a div with the overflow attribute set to "scroll" | Microsoft Connect