'cols' specifies the number of columns and the size of the columns in a frameset
<html>
<head>
</head>
<frameset rows="50,*" frameborder="yes" border="20px" framespacing="5">
<frame name="topFrame" scrolling="NO" noresize src="http://www.java2s.com">
<frameset cols="20%,*" border="15px" framespacing="0">
<frame name="topFrame" noresize scrolling="NO" src="http://www.java2s.com">
<frame name="mainFrame" src="http://www.java2s.com">
</frameset>
<noframes>
<body>no frames</body>
</noframes>
</html>
Related examples in the same category