Frames are really not as hard as you think, once you get the basics down. The one thing you have to remember when using frames is that you will have to create several different pages just to have one page. Each frame is it's own page and the main page is also it's own page. Then you have the frame page that puts them all together into one page. The frame page is the page that people will come to. The main page and the frames will show up on the frame page as long as you tell them to.
The first thing you will want to do is create your main page. This is a regular, normal page that has your content on it. Then you will want to create your frame or frames. If you only want a top frame then you only need to create one. This page is also a normal page but is very short and has only enough information on it to show up at the top or side of your main page.
The frame page is the page that people will see. This is the next page you will create. I suggest creating this page last because the only things that are on this page are links to the main page and the frames.
Frame Tags
To get you started here is a list of basic frame tags that will be used in this lesson:frameset - Starts the beginning of your framed page or frame set. This is the page that people will see when they come to your site. This tag needs the end tag /frameset.
frameborder - This code tells the browser how thick to make the border around your frame.
rows or cols - Use this to tell your browser whether your frame will be a row across your page or a column down your page. It will also tell it how wide or long the row or column will be.
frame - Starts the beginning of a particular frame.
src - Tells the browser which page will be shown within the frame.
scrolling - This tag tells your frame whether it should scroll or not. The options "yes", "no" or "auto" are used with this tag. "auto" tells the frame to scroll only when it needs to, "yes" tells it to always scroll and "no" tells it to never scroll.
noresize - Tells your frame not to allow the user to resize it. Your frame will automatically have a bar that allows it to be resized unless you tell it not to.
noframes - The text you put inside this tag will only be seen by people using a browser that can not or will not see frames. You should place text here to redirect your user to your main page so they have a way to get to your site even if they can not see the frames. The end tag /noframes must be used with this tag.
Next > Put Together All The Pieces
