'framespacing' creates additional space in pixels between the frames : frameset « Tags « HTML / CSS






'framespacing' creates additional space in pixels between the frames

 
    
<HTML>
<head><Title>Example For framespacing</Title></head>
<frameset rows="*" 
          cols="125,*" 
          frameborder="yes" 
          border="20px" 
          framespacing="5">
     <frame name="leftFrame" 
          scrolling="NO" 
          noresize 
          src="http://www.java2s.com">
     <frameset rows="200,*" 
               border="15px" 
               framespacing="0">
        <frame name="topFrame" 
               noresize 
               scrolling="NO" 
               src="http://www.java2s.com">
        <frame name="mainFrame" src="http://www.java2s.com">
     </frameset>
</frameset>
</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.'cols' specifies the number of columns and the size of the columns in a frameset
19.'frameborder' displays a border around a frame or frameset
20.'rows' sets the row number and size in a frameset