Personally I think frames are the most annoying things on the computer, but some people like them, so I guess that is their business.

What is a frame?

A frame is basically when you see two pages at once. The bad thing about the left side of the frame is that it follows you everywhere you go.

What are frames?


Left Column
Main Page

To get that type of frame do this:

Columns

<FRAMESET COLS="50%,50%">
<FRAME SRC="left.htm"><FRAME
SRC="main.htm"></FRAMESET>

Here is another type of frame:

Rows

           
Row 1
Row 2

To achieve that, you do this:

<FRAMESET ROWS="50%,50%"> <FRAME SRC="row1.htm"> <FRAME SRC="row2.htm"> </FRAMESET>

with those you just change the numbers till you get it like you want it!

Another type of frame:

Columns and rows

                               
Banner
Left ColumnMain Page

And to get a frame like that you put this code in:

<FRAMESET ROWS="80%,20%"> <FRAMESET COLS="50%,50%"> </FRAMESET> </FRAMESET>

Targeting

Targeting is probably the most important part. If you were using the same type of layout as the first diagram, the HTML would now look like this:

<FRAMESET COLS="50%, 50%"> <FRAME NAME="left" SRC="left.html"> <FRAME NAME="main" SRC="main.html"> </FRAMESET>

Say you were doing a page with frames that you didn't want to have to scroll down it, to get the links to show up on the main page do this:

<A HREF="links.htm" TARGET="main.htm">

Links on your main page frame will automatically show up on your left page frame, to stop this you will put this:

<A HREF="http://www.yahoo.com" TARGET="_TOP">

Not all browsers support frames, and that could be a problem! With the command, you can tell the person they're viewing with a browser not supporting frames, and if you want, leave a link to a no-frames version of your page. Here's what you would enter in the HTML:

<FRAMESET COLS="50%, 50%"> <NO FRAME> Sorry, this page contains frames and your browser doesn't support them</NO FRAME> <FRAME NAME="left" SRC="left.htm"> <FRAME NAME="main" SRC="main.htm"> </FRAMESET>

Borderless frames

Borderless frames are where there is nothing on your left column to scroll with, here is how you get that:

<FRAMESET COLS="15%,*" FRAMEBORDER="0" FRAMESPACING="0" BORDER="0"> <FRAME NAME="left" SRC="left.htm" MARGINWIDTH="3" MARGINHEIGHT="10" SCROLLING="no"> <FRAME NAME="main" SRC="main.htm" MARGINWIDTH="3" MARGINHEIGHT="10"> </FRAMESET>

I'm not that great of a person with frames so please just follow these simple ways of getting frames.