I created a master page in jsp using frameset, and I included the master page in my other jsps where i have a in the where the contents will be. How can I change the size of the whenever the window size changes?
Below is my sample code :
masterPage.jsp
<html>
<frameset style=border: 0; rows=135,*,38 style=z-index:1 >
<frame id=headerFrame noresize=noresize name=ffwHeader frameborder=0 scrolling=no src=header.jsp style=z-index:1 />
<frame name=ffwMenu frameborder=0 scrolling=no src=menu.jsp style=z-index:3 />
<frame name=ffwFooter noresize=noresize frameborder=0 scrolling=no src=footer.jsp style=z-index:1 />
</frameset>
index.jsp
<html>
<head>
<title>Upload A Disposition Rule</title>
<style type=text/css>
html, body, div, iframe { margin:0; padding:0; height:100%; }
iframe { display:block; width:100%; border:none; }
</style>
</head>
<body >
<div id=bodydiv align=center style=position:fixed; top:135px;left:182px; z-index:2; bottom: 38px; height: 510px; width: 1080px; overflow: auto; >
<!--contents-->
</div>
<iframe src=masterPage.jsp name=masterPage />
</body>
Thanks in advance.