ASP.Net 2.0 IFrame problem...

G

Guest

Hello, i have a web application, and i have a menu and below this a IFrame
(width:100% heigth:100%) but if i put the dimensions with % dont show
anything... if i put a fixed dimension in px or pt or anything, it works...
but i need %...
anyone know why this is happening?


thanks!
 
S

S.M. Altaf [MVP]

Hi,

Show us the HTML code that comes as a result of this. How are you setting
the height and width, as an attribute or as a CSS style?

-Altaf
 
G

Guest

what jose said it worked, but i post the HTML Code anyway... i only leaves
thats matters...

at the last tr, is the IFrame.


thanks to both of you!!!

<%@ Register TagPrefix="ignav"
Namespace="Infragistics.WebUI.UltraWebNavigator"
Assembly="Infragistics.WebUI.UltraWebNavigator.v5.1, Version=5.1.20051.37,
Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" %>
<%@ Page Language="vb" AutoEventWireup="false"
Inherits="Spinehost.EasyTrack.StartPage" CodeFile="StartPage.aspx.vb" %>
<!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 id="Head1" runat=server>
<title>Start Page</title>
</HEAD>
<body id="body" bottomMargin="0" leftMargin="0" topMargin="0"
rightMargin="0">
<form id="Form1" method="post" runat="server">

<table border="0" cellpadding="0" cellspacing="0" style="LEFT: 0px;
WIDTH: 100%; POSITION: absolute; TOP: 0px; HEIGHT: 100%">
<tr height=30px>

</tr>
<tr height=auto>

</tr>
<tr height=auto width=auto>
<td visible=true height="100%" width="100%"><IFRAME id="IFrame"
tabIndex="0" src="UserPage.aspx" frameBorder="no" scrolling="no"
contenteditable="true" style="width: 100%; height: 100%"
runat="server"></IFRAME>
</td>
</tr>
</table>

</form>
</body>
</HTML>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top