Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

displaying multiple frames

Posted on 2001-06-14
3
Medium Priority
?
258 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 200 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
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…

721 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