You came here to learn something about Frames. So here's a brief introduction into the mysteries of the frames HTML.
I have arranged this introduction in four parts:
You can combine two ore more of these definitions into the <frameset> tag; e.g.
<frameset rows="150,100,*" border="2" bordercolor="#0000ff">
Would define a frameset with three areas arranged horizontally, the first area being 150 pixels high, the second one 100 pixels, the third one filling the rest of the window space; they will be divided by a 2 pxiels wide blue borderline.
You can combine two ore more of these definitions into the <frame> tag; e.g.
<frame source="mypage.htm" name="frame1" noresize scrolling="no">
Would define the document "mypage.htm" to be displayed in a non-resizeable frame with no scrollbars
You should add a short message for visitors using non-frames-browsers, leading them to a page without frames
A frame document is verz similar to a normal HTMl file. The <body> tag is being replaced by the <frameset> tag which defines the documents and frames that will be combined to the page
.Thus, the minimum requirement for such a document is:
<html>
<head>
</head>
<frameset>
</frameset>
</html>
In the <frameset> tag, you define the general layout of the page. You can define how many frame areas (rows or columns) will be displayed and how large they should be. There is a certain problem with the absolute with in pixels, since the width of the display varies from browser to browser and from monitor to monitor. Thus, the document is very likely to appear totally different on another visitor's display. You should preferably use the relative width in percent. In case the assigned values do not total exactly to 100%, the browser will override the settings to correct this.
<frameset> tags can be nested. The subframes will be displayed in the space that would be used for the corresponding frame if this had been a <frame> tag instead.
That's for the theory. If you want to see some examples and example source codes, go here.
If you have any questions, please do not hesitate to write me an email.