Solved

Frames in HTML

Posted on 2007-12-03
2
158 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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
Downside of adding characters set in ASP pages 6 30
Button and js nou working 3 20
Create an automated page index 9 53
Set time on Session (ASP) 14 23
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
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 tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
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)

821 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