HTML and CSS Reference
In-Depth Information
If you are like us, making things add up is not a strength. Perhaps some
of the frame designers suffer the same difficulty, which would explain
why they included the very nifty asterisk option for <frameset> rows and
cols values. It tells the browser to size the respective column or row
to whatever space is left over after putting adjacent frames into the
frameset.
For example, when the browser encounters the following frame tag:
<frameset cols="100,*">
it makes a fixed-size column 100 pixels wide and then creates another
frame column that occupies all of the remaining space in the browser
window.
Here's a fancier layout example:
<frameset cols="10,*,10">
This one creates two very thin columns down the edges of the window
and gives the remaining center portion to the middle column.
You may also use the asterisk for more than one row- or column-at-
tribute value. In that case, the corresponding rows or columns equally
divide the available space. For example:
<frameset rows="*,100,*">
creates a 100-pixel-tall row in the middle of the browser display and
equal-size rows above and below it.
If you precede the asterisk with an integer value, the corresponding row
or column gets proportionally more of the available space. For example:
<frameset cols="10%,3*,*,*">
 
Search WWH ::




Custom Search