Forum Moderators: open
I think this must be due to the iframe being inside a table cell, as I just recently tested IE with iframes and it worked fine; however, in that test, the iframe was just in a div.
So my questions are:
1.) Is this a known issue with IE? A Google search turned up no real relevant results.
2.) How might I go about fixing it so I can use the doctype and the iframe and make them play nicely together? (I need that doctype; the rest of the page layout depends on it!)
Thanks for any advice or pointers,
Matthew
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>test</title></head>
<body>
<table>
<tr>
<td><iframe width="150" height="150" src="lorem.txt"></iframe></td>
</tr>
</table>
</body></html> I tried this simple test document (using XHTML 1.0 Trans. to ensure standards-compliance mode) and the iframe showed up fine in IE6. So... the bug is not down to the fact that the iframe is in a table cell.
Could you post the markup for your test case?