开发者

Scroll visibility

In css, i set the overlow property of the div to scroll and it works well. But the scrolls are visible but not active with a greyed color even they are not needed.

So how can i make the scrolls invisible whe开发者_StackOverflown they are not needed ?

Scroll visibility


That is the nature of overflow: scroll. Try overflow: auto instead.


you can also use overflow-x and overflow-y css attributes to control autoscrolling of particular dimension of html element

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜