sajan Posted April 3, 2009 Share Posted April 3, 2009 <style type="text/css"><!-- html, body { width:100%; height:100%; margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px;}.main{ width:100%; height:100%; } .text { font-family:Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000; text-align:left; }--></style><body> <table align="center" bgcolor="#F2FFF2" class="main"> <tr> <td width="100%" bgcolor="#EBEBEB" valign="top"> <div id="container" style="width:100%;overflow-y:auto;height:100%;min-height:220px;background-color:#FFFFFF;"> <div id="Data" style="width:99%;" class="text" ><br> </div></div> <font color="#000099" size="-2" face="Times New Roman, Times, serif"><span id="unavailTxt"></span></font> </td> </tr> <tr> <td colspan="1"> <div id="subData"> <textarea id="subText" rows="1"style="overflow-y:auto;width:99%"></textarea> </div> </td> </tr></table> When i give <td height=100%> of <div id="container"> ,div is automatically expanding to fill the height of <td>,but only in firefox,In ie it fill the enire window viewport,so some element in the window out of vewport.when i don't give <td height=100%> this not all expanding in accordance with window resize.can anybody help me? Link to comment Share on other sites More sharing options...
jbnpaul Posted April 7, 2009 Share Posted April 7, 2009 Can you give the complete source for the page. Link to comment Share on other sites More sharing options...
sajan Posted April 8, 2009 Author Share Posted April 8, 2009 I solved the problem.Just by changing the doctype to 3.2 final ,its worked. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.