Solved

displaying multiple frames

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now