Re: frames

by "Sean Healy" <jalopeura(at)hotmail.com>

 Date:  Sun, 21 Nov 1999 05:01:13 AKST
 To:  Bayangell(at)aol.com,
hwg-basics(at)hwg.org
  todo: View Thread, Original
>Hi, I am trying to learn how to make frames like seeen on this site, >but 
>not with a frame at the bottom.
>Any help is greatly appreciated :)

Take a look at the source file for the page (in Netscape and IE, under the 
View menu).  In this case, you see:

<FRAMESET rows="72,*,30" BORDER=0 FRAMEBORDER=NO FRAMESPACING=0>

<FRAME SRC="topa.htm" SCROLLING=no NORESIZE MARGINHEIGHT=0 MARGINWIDTH=0 
BORDER=0 NAME="top">

<FRAME SRC="main.html" SCROLLING=auto NORESIZE MARGINHEIGHT=0 MARGINWIDTH=0 
BORDER=0 NAME="main">

<FRAME SRC="bott.html" SCROLLING=no NORESIZE MARGINHEIGHT=0 MARGINWIDTH=0 
BORDER=0 NAME="bott">

</FRAMESET>

In the frameset, you see rows="72,*,30".

72 and 30 are the pixel-height of the top and bottom frames.

* means use whatever space is left after all non-starred frames ahve been 
give their height (or width in the case of columns).  You can also use 
2*,3*, etc., or use just stars with no pixels

You can also use % (percents) in dividing frames.

You can also make columns (cols=) instead of rows.

In this case, remove the 30 (and the comma) and change 72 to your menu frame 
height.

The replace the topa.htm and main.html in the first two FRAME declarations 
with the source file for each frame, and remove the thrid FRAME declaration.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA