Web Development HTML Guide - Learn HTML
Developer Tutorials
ASP
CGI & Perl
CSS
Flash
HTML
Java
JavaScript
Linux
MySQL
PHP
Photoshop
Python
Wireless
XML



Developer Manuals
Learn HTML
Learn PHP
Learn MySQL
Learn CSS
Learn Pear


Developer Scripts
ASP Scripts
ASP.NET Scripts
CGI & Perl Scripts
Flash Scripts
Java Scripts
JavaScript Scripts
PHP Scripts
Python Scripts
Remotely Hosted Scripts
Tools & Utilities Scripts
XML Scripts

Developer Resources
Developer Tools
Developer News
Developer Forums
Developer Content
Developer Book Reviews
Survey Software

Web Hosting Directory
Budget Web Hosting
ColdFusion Hosting
Dedicated Servers
Domain Hosting
E-Commerce Hosting
Email Hosting
Free Web Hosting
Linux Web Hosting
Managed Hosting
Reseller Hosting
Small Business Hosting
Windows Web Hosting

Attributes for <FRAMESET ...>
FRAMEBORDER = YES | 1 | NO | 0
FRAMESPACING = integer
BORDER = integer

The issue of what goes in between the frames is determined (somewhat confusingly) with FRAMEBORDER, FRAMESPACING, and BORDER. There are two separate issues: To set the frames so there are no borders at all see "No Borders".

3-D Borders

FRAMEBORDER determines if there should be 3-D borders between the frames. YES, which is the default, says there should be borders. 1 is the same as YES.

FRAMEBORDER=YES gives you cool 3-D borders

NO says there should not be 3-D borders. Unfortunately, the name "FRAMEBORDER" is deceptive. With NO there are not cool 3-D borders, but there is still the default background color (usually gray or white) between the frames:

FRAMEBORDER=NO gives you strange gray borders

For example:

this code produces this
<FRAMESET ROWS="20%,*" FRAMEBORDER=NO>
this page

How Much Space Between Frames

To control how much space is between the frames (that is, how big are the borders) use FRAMESPACING and BORDER. These are actually the same attribute; it's just that MSIE only understands FRAMESPACING and Netscape only understands BORDER. Use both to be safe:

this code produces this
<FRAMESET ROWS="20%,*" FRAMESPACING=30 BORDER=30>
this page with some unusual frame borders

No Borders

The most common use of FRAMEBORDER, FRAMESPACING, and BORDER is to create a page with no space between the borders. To do this, set NO, FRAMESPACING, and BORDER:

this code produces this
<FRAMESET ROWS="20%,*" FRAMEBORDER=NO FRAMESPACING=0 BORDER=0>
this page


Copyright Idocs, Inc. Written by Miko Sullivan











About the NetVisits, Inc Network | Advertise
Developer Tutorials hosted by HostGator.
Copyright ©2007 NetVisits, Inc Network. All Rights Reserved. Privacy Policy.
Visit other NetVisits, Inc. sites: