0

我即将向 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>

也许您知道已经报告了类似的错误?
或者,也许您知道如何与之抗争?

4

1 回答 1

0

这个问题似乎是 Visual Studio Web Designer 的限制。已向微软提交了相应的请求:

在 VS2008 网页设计器中,固定布局的表格不会被溢出属性设置为“滚动”的 div 裁剪 | 微软连接

于 2011-04-12T21:02:20.517 回答