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
Solved

displaying multiple frames

Posted on 2001-06-14
3
235 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
HTML5 save .Dat to server side 20 50
Increase the size of the modal in Bootstrap 5 43
Html Table Looping (part 2) 5 27
IF statment In Powershell 12 15
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

860 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