Free Webmasters Resource
 

Free Graphics, Tutorials, Scripts, Webmaster Forums, Web Templates, SEO Tools, & Much More!!

Home Scripts Tutorials Free Downloads Articles SEO Play Free Games Web Templates

Frames

Frames can organize your shoddy links into a neat navigation system.

Frames can create a professional looking sidebar at the side of your page. They can split a web page into precise parts while keeping it neat. Frames work like this: you split a web page into as many equal parts as you like, and each part contains a separate page.

Now that you know what frames look like, you can start understanding the concept behind them. The different pages (main, menu, and bottom) are all different pages. You can put whatever content you want in any page. Notice, too, that the borders are resizable and have a scroll bar with a border. We will now manipulate all of these elements and show you how it's done.

First, we will go through how to make the frames on the previous page. Here is the script used for that page:

<html>
<head>
<title>Frames</title>
</head>

<frameset cols="120,*">
<frame src="menu.html" name="menu">
<frameset rows="*,50">
<frame src="main.html" name="main">
<frame src="bottom.html" name="bottom">
</frameset>
</frameset>
</html>


The <frameset cols="120,*"> tag defines the columns (menu and main). This says that the first column will be 120 pixels wide, and the second column will fill in the rest. (The asterik means that the rest of the page should be taken up.) The width number can be expressed as pixels as well as percentages.

The next line, <frame src="menu.html" name="menu">, gives us the page that should be inserted in the first column (menu). The following line, <frameset rows="*,50"> defines the rows. The asterik means that the first row (main), takes up all the pixels other than the 50 reserved for the bottom column. The next two lines, <frame src="main.html" name="main"> and <frame src="bottom.html" name="bottom">, give the source of these two frames. The last two lines are standard closing tags for the two framesets, </frameset> and </frameset>.

The last bit of frame knowledge you will want to know is how to change the default borders and spacing attributes. The three attributes you can add to the <frameset> tags are illustrated below:

<frameset border="0" bordercolor="0" framespacing="0">


They are pretty self explanatory. Border sets the width of the borders. Bordercolor sets the color of the border (you may use words or hexadecimal codes). Framespacing defines the spacing between the frames.

 

Tutorials: HTML

Title/Description

Level

Backgrounds: Tutorial
Learn how to effectively add backgrounds to your page that make your page look professional or amateur.

Beginner

Imagemaps: Tutorial
Make one image into various clickable regions using only HTML

Intermediate

Embedding Fonts: Tutorial
Learn how to use uncommon fonts in web pages by embedding them.

Advanced

Images: Tutorial
Positioning images can make your images look just right when inserted into text.

Intermediate

Form Effects: Tutorial
Learn how to create trendy forms with simple style commands as well as with CSS classes.

Intermediate

Layers: Tutorial
Layers can make complicated image placement possible.

Advanced

Forms: Tutorial
Use forms to gather information from your users.

Advanced

Links: Tutorial
Making links in HTML is the easiest thing you will ever do.

Beginner

Frames: Tutorial
Learn how to create frames that enable you to create navigation systems on your site.

Advanced

Scrollbars: Tutorial
Learn how to add effects to your scrollbars and add flavor to your page.

Advanced

Hide From Print: Tutorial
Learn how to only allow a visitor to print part of your page using CSS.

Intermediate

SSI: Tutorial
Learning how to do SSI will save you a lot of authoring time.

Advanced

Horizontal Line: Tutorial
The horizontal line serves as a great separator tool.

Beginner

Table Styles: Tutorial
Learn how to add various table styles such as dash or dot borders, and many other things.

Intermediate

Iframes: Tutorial
Iframes can organize your website into clean sections.

Advanced

Tables: Tutorial
Organize your web page layouts with tables.

Intermediate

216 Web Safe Color Chart: Tutorial
The 216-color color-safe palette refers to colors (RGB values) that will appear the same on either IE or Netscape and Windows or Mac platforms.

Beginner

Pantone RGB/Hex/HTML Colors: Tutorial
This table contains all pantone colors converted to RGB and Hex. It displays them all in HTML colors.

Intermediate

 


Home Contact Credits Flash Templates Webmaster Forums Site Map Webmaster Resources Advertise


Computer Playground
· Templates Resource