You are here: positioning content inside iframe « HTML « IT news, forums, messages
positioning content inside iframe

Posted by phl on 09/18/07 00:11

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:
<html>
<head>
</head>
<body>
<IFRAME align="center" width="500px" height="200px" id="VideoIFrame"
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 runat="server">
</head>
<body>
<form id="form1" runat="server">
<div style=" left:50px">
<table runat="server" width="500" border="5">
<tr>
<td>table</td>
</tr>
</table>
</div>
</form>


</body>
</html>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация