positioning contents of an iframe

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

 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:

<IFRAME align="center" width="500px" height="200px"  src="test.aspx"
scrolling="no" frameborder="1">

here's my aspx page :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://

<html xmlns="http://www.w3.org/1999/xhtml " >

<head >



<form id="form1" runat="server">

<div style=" left:-5px">

<table width="500" border="5">









Re: positioning contents of an iframe

I figured out that this is an absolute positioning problem. after I
specified positioning eventhing worked

Site Timeline