<FRAMESET FRAMEBORDER= ROWS="," COLS=",">
<FRAME SRC="file1.html" NAME="navbar">
<FRAME SRC="file2.html" NAME="content">
</FRAMESET>
<NOFRAMES>
<BODY BGCOLOR= TEXT= LINK= VLINK=gt;
<P> (Message for those whose browsers don't or can't read frames)<P>
|
Basic frameset, which goes under the HEAD but over the ending page tags.
The FRAMESET tag creates frames in which file1.html and file2.html are displayed. If you use columns, file1.html will be in the left column, if you use rows, it will be in the top row.
FRAMEBORDER is how thick the line between the frames is.
Use either ROWS (if you want horizontal framse) or COLS (if you want vertical frames), but not both. It's common to set the value using percentages (for example, COLS="22%, 88%" ), since this makes your page look approximately the same on any sized screen. If you use pixels, an asterisk (* ) can be used to indicate that that frame should take up however many pixels are left (e.g., ROWS="200, *" ). The first number sets the left-hand or top-most frame's width, the second number sets the other frame.
|