Login    New User    Forgot Password    Help      

Frameborder and Framespacing

GO TO INDEX

You probably noticed those ugly gray lines that appear between the frames. It is possible to remove these and manipulate the spacing between frames with frameborder and framespacing. These attributes appear within the frameset tag.

Note: Framespacing and border are the same attribute, but some browsers only recognize one or the other, so use both, with the same value, to be safe.

  • frameborder="#" - A zero value shows no "window" border.
  • border="#"- Modifies the border width, used by Netscape.
  • framespacing="#" -Modifies the border width, used by Internet Explorer.

Here's an example of the same frameset without the borders.

<html>
<head>
</head>  
<frameset border="0" 
frameborder="0" 
framespacing="0" 
rows="20%,*">  
<frame src="title.html">  
<frameset border="0" 
frameborder="0" 
framespacing="0" 
cols="30%,*">  
<frame src="menu.html">  
<frame src="content.html">  
</frameset>  
</html>

GO TO INDEX