Web Hosting Directory | Web Hosting Resources | Webmaster Resources | Domain Tools | Search Engine Marketing | Forums
  Signup
Today: 1,249   Yesterday: 1,015   Max: 1,872   Total: 464,302   Current Users : 16 (Member 0) 
DOMAIN TOOLS

WEBMASTER TOOLS

RELATED ARTICLES

SUBMIT AN ARTICLE

Write for us and get publicity, link to your website, and best of all get paid. Please visit our writers page for details.


LINK TO US

Link to us and earn points for each visitor you bring to us. Please visit our link partner page for details.

 

Attributes for <FRAMESET ...>
COLS = integer
ROWS = integer

Usage Recommendation
thumbs up use it

COLS and ROWS establish the quantity and sizes of the columns and rows in a frameset. The value for each attribute is a comma separated list of sizes (in pixels or percents). For example, you might use this code for a set of frames that has two rows and three columns:

this code produces this
<FRAMESET ROWS="80%,20%" COLS="60%,20%,20%">
     <FRAME SRC="rowcol1a.php">
     <FRAME SRC="rowcol1b.php">
     <FRAME SRC="rowcol1c.php">
     <FRAME SRC="rowcol1d.php">
     <FRAME SRC="rowcol1e.php">
     <FRAME SRC="rowcol1f.php">

<NOFRAMES>NOFRAMES stuff
</NOFRAMES>

</FRAMESET>

this page

The ROWS attribute says that the first row should be 80% of the height of the window and the second row should be 20%. The COLS attribute says that the first column should be 60% of the width of the window, the second column 20%, and the third another 20%.

If you leave out either ROWS or COLS, that indicates that there should be just one column or one row:

this code produces this
<FRAMESET ROWS="80%,20%">
this page

If you use an asterisk ("*") in place of a number, that says "use whatever is left over". If more than one asterisk is used then the remaining space is divided evenly. In the next example, the ROWS attribute says that the first row is 80% of the window height, the second is whatever is left. The COLS attribute says to that the first column is 60% of the width of the window, the other two columns split the rest evenly:

this code produces this
<FRAMESET ROWS="80%,*" COLS="60%,*,*">
this page

If you use only asterisks then everything is spaced evenly. The next example produces six frames that are all the same width and all the same height (i.e., all the same size):

this code produces this
<FRAMESET ROWS="*,*" COLS="*,*,*">
this page



Copyright 1997-2002 Idocs, Inc. Written by Miko Sullivan.

 
 
 
What is your major source of website traffic?
 
 
 
 
 
 

ADVERTISEMENT

 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2008 Broadband Media, Inc. All rights reserved.