positioning content inside iframe

positioning content inside iframe

am 18.09.2007 02:11:01 von phl

hello

I have an iframe which loads an aspx page. This aspx page has a table.
I would like the top left of the table to align with the top left of
iframe. I have tried putting a div and using the left & top style
properties to do this but my table in the aspx page jsut will not move
at all. Does anyone know how I can do this?

here's my iframe:








here's my aspx page:
<%@ Page Language="C#" AutoEventWireup="true" %>

www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">











table






Re: positioning content inside iframe

am 20.09.2007 17:46:56 von Ivanovich

Put this code in between your head tag or in a css file in the aspx
page.

By default the body can have some margin or padding.



On Sep 18, 2:11 am, phl wrote:
> hello
>
> I have an iframe which loads an aspx page. This aspx page has a table.
> I would like the top left of the table to align with the top left of
> iframe. I have tried putting a div and using the left & top style
> properties to do this but my table in the aspx page jsut will not move
> at all. Does anyone know how I can do this?
>
> here's my iframe:
>
>
>
>
>
>
>
>
> here's my aspx page:
> <%@ Page Language="C#" AutoEventWireup="true" %>
>
>
>
>
>
>
>
>


>

>
>
>
>
>
table

>

>

>
>
>