Question

Locked

Frames rendering incorrectly in IE6

By Teufelhund ·
Here's the source code for a test page using frames. It is displayed normally using Firefox, but IE6 displays only the header - the rest of the frames are not displayed, they remain blank.

Does anyone have any ideas why this isn't working?

Thanks.

------ Begin Snip ------

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Test Page</title>
<link rel="stylesheet" href="../intraStyle.css">

<script language="JavaScript">

var nav = navigator.appName;
var version = navigator.appVersion;

function setStatus(text) {
window.status = text;
return true;
}

function clearStatus() {
window.status = "";
}
</script>
</head>
<frameset frameborder="no" rows="20%,65%,15%">
<frameset frameborder="no" cols="*">
<frame src="headerFrame.html"
frameborder="0" />
</frameset>
<frameset frameborder="no" cols="25%,*">
<frame src="navigationFrame.html"
name="navigation_frame"
frameborder="0" />
<frame src="workFrame.html"
name="work_frame"
frameborder="0" />
</frameset>
<frameset frameborder="no" cols="*">
<frame src="footerFrame.html"
frameborder="0" />
</frameset>
</frameset>

<noframes>
<body>
This pages uses frames but your stupid browser doesn't support them.
</body>
</noframes>
</html>

------ End Snip ------

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

You have too much code!!!

by Master_Techie In reply to Frames rendering incorrec ...

Hi DudleyDoRight,
Your problem is that you have wrapped extra FRAMESETs around all of your sections. In other words, unless you are going to create another set of FRAMES for any section you do not need to put your FRAME inside a FRAMESET. So you need to delete the FRAMESETs that wraps your headerframe and footerframe. I have copied only the relevent section of the code below. Hope it helps.

<frameset frameborder=no rows="20%,65%, 15%">
<frame name="header" src="headerFrame.html" frameborder="0" />
<frameset frameborder=no cols="25%,*">
<frame src="navigationFrame.html" name="navigation_frame" frameborder="0" />
<frame src="workFrame.html" name="work_frame" frameborder="0" />
</frameset>
<frame name="footer" src="footerFrame.html" frameborder="0" />
</frameset>

Collapse -

Thanks!

by Teufelhund In reply to You have too much code!!!

Just the ticket!

Collapse -

Due to JavaScript

This is due to the JavaScript. You have not mention the type of JavaScript in mime type. So the browser dose not know. Or just remove the JavaScript and see if the page is Displaying.

Back to Browser Forum
4 total posts (Page 1 of 1)  

Related Discussions

Related Forums