This is a discussion on How to solve this HTML -"table" and "iframe"- problem? within the Web Design forums, part of the Web Designing & Development category; if you run the following code at Firefox browser, it works fine. However, if you run it at IE7 you ...
if you run the following code at Firefox browser, it works fine. However, if you run it at IE7 you will notice that when you click on any link, a new page will be open which is not correct. So, how can I fix this problem in IE7? I want any link open within the frame, NOT a new page.
//Here is the code:
<html>
<head>
<title>Testing</title>
</head>
<body>
<td height="450">
<base target="I1"/>
</td>
<table width="490" border="1" align="center">
<td> <iframe src="file1.htm" name="I1" width="350" height="290"
frameborder="0">
</iframe></td>
<tr>
<tr>
</tr>
<td >
<a href="file1.htm">item1
</a>
</td>
<td>
<a href="file2.htm">item2
</a>
</td>
<td width="102">
<a href="file3.htm">item3
</a>
</td>
<td>
<a href="file4.htm">item4
</a>
</td>
</tr>
</table>
</body>
</html>
Bookmarks