A
Anna
Hi all.
I have a strange thing happening when using iframe.
Here is my small page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en">
<head>
<title>Test</title>
<meta http-equiv="content-type" content="text/html;
charset=utf-8"/>
</head>
<body>
<table>
<tr>
<td>
<iframe src="http://www.yahoo.com" height="100%">Your browser does
not support frames</iframe>
</td>
</tr>
</table>
</body>
</html>
The way it is written, the iframe is not shown in IE browser.
It IS shown in Netscape.
If I remove from the file EITHER the doctype declaration OR the height
attribute of the frame OR the table including the iframe (leaving
iframe the only content of body), the iframe starts to show up on IE.
I also checked this page with W3C HTMLValidator, and it is valid XHTML
Transitional.
So I am really confused and don't understand what's wrong here.
I will be really happy to get any input on this.
Thank you all very much for help.
Anna
I have a strange thing happening when using iframe.
Here is my small page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en">
<head>
<title>Test</title>
<meta http-equiv="content-type" content="text/html;
charset=utf-8"/>
</head>
<body>
<table>
<tr>
<td>
<iframe src="http://www.yahoo.com" height="100%">Your browser does
not support frames</iframe>
</td>
</tr>
</table>
</body>
</html>
The way it is written, the iframe is not shown in IE browser.
It IS shown in Netscape.
If I remove from the file EITHER the doctype declaration OR the height
attribute of the frame OR the table including the iframe (leaving
iframe the only content of body), the iframe starts to show up on IE.
I also checked this page with W3C HTMLValidator, and it is valid XHTML
Transitional.
So I am really confused and don't understand what's wrong here.
I will be really happy to get any input on this.
Thank you all very much for help.
Anna