'cols' specifies the number of columns and the size of the columns in a frameset : frameset « Tags « HTML / CSS

HTML / CSS » Tags » frameset 
'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
1.'frameset' is used in conjunction with the 'frame' element
2.Set frame size in frameset
3.target="_self" is the default value
4.This link opens a page to replace the frameset
5.This link opens in a frame with the name 'content'
6.rows="120,*"
7.cols="150,*"
8.Frames example
9.frameborder="10"
10.rows="150, *, 100"
11.framespacing="5"
12.cols="200, *"
13.frame out of the frameset
14.name="main_frame"
15.cols = "50%,50%"
16.noframes just in case
17.frameset rows="150, *, 100" frameborder="10"
18.'frameborder' displays a border around a frame or frameset
19.'framespacing' creates additional space in pixels between the frames
20.'rows' sets the row number and size in a frameset
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.