Solved

displaying multiple frames

Posted on 2001-06-14
3
230 Views
Last Modified: 2012-05-04
The code below is supposed to show a three framed web page, but when I look at in my browser only the top frame is displayed.....

What am I doing wrong?

Regards,

Matt.

<html>
<head>
<title>index</title>
</head>
<frameset rows="108,559*" frameborder="NO" border="0" framespacing="0" cols="*">
<frame name="topFrame" scrolling="NO" src="header.html" >
<frameset rows="433*,123" frameborder="NO" border="0" framespacing="0" cols="*">
<frame name="mainFrame" src="index_main1.html">
<frame name="bottomFrame" scrolling="NO" src="base.html">
</frameset>
</frameset>
<noframes><body bgcolor="#FFFFFF">
</body></noframes>
</html>
0
Comment
Question by:Matt_Unsworth
3 Comments
 
LVL 19

Accepted Solution

by:
webwoman earned 50 total points
ID: 6190990
You don't need the second frameset tag. All you need is
frameset rows="108,559,*" frameborder="no" border="0" framespacing="0"

Only ONE frameset tag, you're not specifying columns so you don't need that. You do need the 3 frame names. The frameset tag sets up three frames -- one 108, one 559, and one the rest of the window -- which, for most people, is going to be NOTHING because your numbers are WAY too big. Hardly anybody has a browser window 700+ pixels DEEP -- wide, maybe, but not DEEP.

I'd set the top frame size, the BOTTOM frame size, and let the center (which I'm assuming is the content) be the rest of the window height.

And you certainly don't need that second frameset tag.
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6191130
<html>
<head>
     <title>index</title>
</head>
<frameset rows="108,*,123" frameborder="NO" border="0" framespacing="0">
     <frame name="topFrame" scrolling="NO" src="header.html" >
     <frame name="mainFrame" src="index_main1.html">
     <frame name="bottomFrame" scrolling="NO" src="base.html">
</frameset>
<noframes>
     <body bgcolor="#FFFFFF">
     </body>
</noframes>
</html>

Should do the trick (just to support webwoman...)

Max.
0
 

Author Comment

by:Matt_Unsworth
ID: 6191160
Thanks for the advice.

Matt
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
maps stopped work unsure why 7 34
Converting dates in JavaScript 2 32
HTML5 save .Dat to server side 20 45
How can I implement a "Select All" with this configuration...? 6 39
This article discusses how to create an extensible mechanism for linked drop downs.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question