Solved

Frames in HTML

Posted on 2007-12-03
2
155 Views
Last Modified: 2010-04-09
I am trying to use frames in HTML.
here is my main page

<html>
<body>
<frameset cols="50%,50%">
    <frame src="frameA.html">
    <frame src="frameB.html">
</frameset>
</body>
<html>

and here are teh other 2 html pages
<html>
<body bgcolor="#8F8FBD">

<h3>Frame A</h3>

</body>
</html>

<html>
<body bgcolor="#8F8FBD">

<h3>Frame B</h3>

</body>
</html>

All the 3 pages are in the same folder. But if i open the main page, I don't see any results. Please let me know why this problem is coming. Thanks
0
Comment
Question by:thomas908
  • 2
2 Comments
 
LVL 6

Accepted Solution

by:
CasUK earned 100 total points
ID: 20394322
You shouldn't use the <body> tag on the main frames page unless you are including <noframes> data.
0
 
LVL 6

Expert Comment

by:CasUK
ID: 20394325
Oops - missed the code.

And see http://www.w3schools.com/html/html_frames.asp for more info about using frames.
<html>

<frameset cols="50%,50%">

    <frame src="frameA.html">

    <frame src="frameB.html">

</frameset>

<html>

Open in new window

0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)

707 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

17 Experts available now in Live!

Get 1:1 Help Now