Solved

displaying multiple frames

Posted on 2001-06-14
3
244 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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 …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

752 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