IE6.0 and iframe

liunx

Guest
Does anyone know of any issues with iframes and Internet Explorer 6.0?<br />
<br />
I have viewed in IE5.5 and the frame content renders correctly, but in IE6.0 there is no frame!<br />
<br />
here is the code where the iframe is declared:<br />
<br />
<br />
<br />
<td valign="top" width="100%" height="100%"><br />
<table border="1" background="images/spacers/blue.gif" width="100%" height="100%"><br />
<tr><br />
<td background="images/spacers/white.gif" width="100%"><br />
<iframe src=http://www.htmlforums.com/archive/index.php/"sections/002/main/form.php" name="main" width="100%" height="100%"></iframe><br />
</td><br />
</tr><br />
</table><br />
</td><br />
<br />
<br />
<br />
if i "view source" for where the iframe should be, it still gives me the code for the parent page.<!--content-->works fine for me. what is the rest of the code and what do you have at the very top of the file? for the !DOCTYPE<!--content-->Here is the whole code:<br />
<br />
<br />
<br />
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><br />
<br />
<html><br />
<br />
<!-- This site and the information represented on this site are copyright of Sauter Automation Limited --><br />
<!-- Site design by Stuart Jones --><br />
<br />
<head><br />
<br />
<br />
<title>Sauter Automation Ltd - Engineering Pages</title><br />
<br />
<link rel="stylesheet" type="text/css" href=http://www.htmlforums.com/archive/index.php/"styles/body.css" /><br />
<link rel="stylesheet" type="text/css" href=http://www.htmlforums.com/archive/index.php/"styles/table.css" /><br />
<br />
<br />
</head><br />
<body><br />
<br />
<br />
<table border="0"><br />
<tr><br />
<td valign="center" align="center" height="50" width="150"><br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"sal_engineering.php?s=001&p=001"><br />
<br />
<img src='http://www.htmlforums.com/archive/index.php/images/nav/001.gif' border='0'><br />
</a><br />
<br />
</td><br />
<br />
<td valign="center" align="center" height="50" width="50"><br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"sal_engineering.php?s=002&p=001"><br />
<br />
<img src='http://www.htmlforums.com/archive/index.php/images/nav/002_a.gif' border='0'><br />
</a><br />
<br />
</td><br />
<br />
<td valign="center" align="center" height="50" width="50"><br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"sal_engineering.php?s=003&p=001"><br />
<br />
<img src='http://www.htmlforums.com/archive/index.php/images/nav/003.gif' border='0'><br />
</a><br />
<br />
</td><br />
</tr><br />
</table><br />
<br />
<hr><br />
<br />
<br />
<h1>EY3600 FBD Module Library</h1><br />
<br />
<table border="0" width="100%" height="560"><br />
<br />
<tr><br />
<td width="25"></td><br />
<br />
<td width="125" valign="top" height="100%"><br />
<table border="1" height="100%" class="menu"><br />
<tr><br />
<td valign="top" class="menu"><br />
<script language="javascript" src=http://www.htmlforums.com/archive/index.php/"javascript/002/treemenu/tree.js"></script><br />
<script language="javascript" src=http://www.htmlforums.com/archive/index.php/"javascript/002/treemenu/tree_items.js"></script><br />
<script language="javascript" src=http://www.htmlforums.com/archive/index.php/"javascript/002/treemenu/tree_tpl.js"></script><br />
<br />
<script language="javascript"><br />
new tree(TREE_ITEMS, tree_tpl);<br />
</script><br />
</td><br />
</tr><br />
</table><br />
</td><br />
<br />
<td width="25"></td><br />
<br />
<td valign="top" width="100%" height="100%"><br />
<table border="1" background="images/spacers/blue.gif" width="100%" height="100%"><br />
<tr><br />
<td background="images/spacers/white.gif" width="100%"><br />
<iframe src=http://www.htmlforums.com/archive/index.php/"sections/002/main/form.php" name="main" width="100%" height="100%"></iframe><br />
</td><br />
</tr><br />
</table><br />
</td><br />
</tr><br />
</table><br />
</body><br />
</html><!--content-->take this out of your DOCTYPE<br />
<br />
"http://www.w3.org/TR/REC-html40/loose.dtd"<br />
<br />
that is making the iframe dissappear.<!--content-->shouldn't that be there?<br />
<br />
i was just copying from this reference: <br />
<!-- m --><a class="postlink" href="http://www.htmlhelp.com/reference/html40/html/doctype.html">http://www.htmlhelp.com/reference/html4 ... ctype.html</a><!-- m --> <br />
<br />
thanks anyway scoutt - it works.:thumbup:<!--content-->the loose.dtd is for tags that don't support CSS. it doesn't support frames.<!--content-->
 
Back
Top