Posted by phl on 09/17/07 23:59
Hello
I have an iframe which contains an aspx page. The aspx page displays
a table. The problem is that the table in the aspx page is not
aligning with the top left corner of the iframe. I would like position
the table but I haven't been able to do it successfully,using divs.
Does anyone know how this can be done?
here's my iframe:
<html>
<head>
</head>
<body>
<IFRAME align="center" width="500px" height="200px" src="test.aspx"
scrolling="no" frameborder="1">
</IFRAME>
</body>
</html>
here's my aspx page :
<%@ Page Language="C#" AutoEventWireup="true" %>
<!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" >
<head >
</head>
<body>
<form id="form1" runat="server">
<div style=" left:-5px">
<table width="500" border="5">
<tr>
<td>table</td>
</tr>
</table>
</div>
</form>
</body>
</html>
Navigation:
[Reply to this message]
|