i was developing a page which has two frames, the left frame is a treeview file, when click one of the file it will display on the right frame.the main page code is below
<frameset id="main_frame" cols="210,*" rows="*">
<frame src="FramesetLeftFrame.jsp" id="treeframe" noresize="noresize"/>
<frame src="" id="basefrm" noresize="noresize"/>
</frameset>
the question is the treeview display correctly in chrome and firefox, but in ie7 the treeview becomes auto-height!when i click a folder with the files becomes more the height becomes higher.how can i fix the problem? i have tried add a min-height = 100% or height = 100%,it does not work. by the way, the tree is maked by javascript. FramesetLeftFrame.jsp is below:
<SCRIPT src="ua.js"></SCRIPT>
<!-- Infrastructure code for the TreeView. DO NOT REMOVE. -->
<SCRIPT src="ftiens4.js"></SCRIPT>
<!-- Scripts that define the tree. DO NOT REMOVE. -->
<%@include file="buildTree.jsp" %>
</HEAD>
<BODY>
<SCRIPT>initializeDocument()</SCRIPT>
<NOSCRIPT>
A tree for site navigation will open here if you enable JavaScript in your browser.
</NOSCRIPT>
</body>
</html>
Thank you guys!