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 ?
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
精彩评论