Displaying vertical scroll bar dynamically in HTML elements | Learn Web Development - 0 views
-
QPT SEO on 06 Jul 12Vertical scroll bar in HTML controls/elements/tags such as TEXTAREA and SELECT will be useful if the element has more content/items. But always showing Vertical scroll bar will be occupying some space in the page unnecessarily. So the best way is, showing the Vertical scroll bar dynamically only when the content exceeds a limit. It can be achieved by specifying "overflow" as auto in the style.