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:
src="test.aspx" scrolling="no" frameborder="1">
here's my aspx page:
<%@ Page Language="C#" AutoEventWireup="true" %>
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:
>
>
>
>
>
> src="test.aspx" scrolling="no" frameborder="1">
>
>
>
>
> here's my aspx page:
> <%@ Page Language="C#" AutoEventWireup="true" %>
>
>
>
>
>
>
>
>
>
>
>