adsense

Wednesday, April 21, 2010

Enable/Disable Internal Webpage Scrollbar

To set the scrollbar for an elemnt with a web page You can try the "overflow" property in CSS/styles.

<div style="overflow:auto">...content...</div>

If you have content that is larger than the box (in this case the DIV layer) where you place the links, there will be a scrollbar to scroll to the rest of the links.

If you set overflow:hidden the the scroll bar won't be displayed for the element.

cheers,
Happy coding
Samitha

No comments:

Post a Comment