如何从网格中删除自动滚动?

时间:2013-12-23 06:54:26

标签: html5 scrollbar

我正在使用ASP.Net中的网格。 在chrome中,滚动条没有自动出现, 所以我添加了网格的div:

overflow-x: scroll

现在,当我在IE 10中打开页面时,我有2个滚动条 - 一个我定义的,另一个自动创建......

如何删除IE中的自动滚动条?

谢谢, 耶尔

1 个答案:

答案 0 :(得分:0)

<强> overflow: auto (or overflow-y: auto) is the correct way to go.