Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: How does the browser decide when to put a scrollbar for data displayed using div tags ?


Message #1 by "Aarti Gokhale" <aarti.gokhale@m...> on Tue, 11 Jun 2002 10:55:44
Hi !

I am facing a problem with the vertical scrollbar for div tags.

I have a frame on my page, for which scrolling is set to "auto". Its 
occupying the left part of the web page and is used for navigating the 
site. This frame has layered data using div tag which is arranged like a 
tree menu. The menu expands or collapses dynamically which is handled by 
showing or hiding the div tag. When I expand the tree, for some set of 
data, it shows a vertical scrollbar even though it is not required. Based 
on which attributes does the browser decide when to put a scrollbar for 
this div tag ? I am using IE 5.x and Netscape 4.7. I am not using the 
overflow attribute of div tag because I want scrollbar for the entire 
frame and not just the div tag.

Can somebody help me in finding a solution for this problem ?

Thanks !

Regards,
Aarti

  Return to Index