HTML and CSS Reference
In-Depth Information
where frames istheindividualframeswithintheframeset.You'llexplorehowtocreate
theseframesshortly.
Notethattheframesetelementreplacesthe body elementinthisHTMLdocument.
BecausethisHTMLiledisplaysthecontentofotherWebpages,itisnottechnicallya
Webpageand,therefore,doesnotincludeapagebody.Aframesetislaidoutineither
rowsorcolumns,butnotboth.FigureE-3showstwoframesets:oneinwhichtheframes
arelaidoutinthreecolumnsandanotherinwhichtheyareplacedinthreerows.
Figure e-3
Frame layouts in rows and columns
frames laid out in columns
frames laid out in rows
Thesyntaxfordeiningtheroworcolumnframelayoutis
<framesetƒrows=” row1 , row2 , row3 ,...”>ƒ...ƒ</frameset>
or
<framesetƒcols=” column1 , column2 , column3 ,...”>ƒ...ƒ</frameset>
where row1 , row2 , row3 ,andsoonaretheheightsoftheframerows,and column1 ,
column2 , column3 ,andsoonarethewidthsoftheframecolumns.Thereisnolimitto
thenumberofrowsorcolumnsyoucanspecifyforaframeset.
Therowandcolumnsizescanbespeciiedinthreeways:inpixels,asapercentage
ofthetotalsizeoftheframeset,orbyanasterisk(*).Theasteriskinstructsthebrowserto
allocateanyunclaimedspaceintheframesettothegivenroworcolumn.Forexample,
 
Search WWH ::




Custom Search