ASP.Net 2.0 IFrame problem...

Discussion in 'ASP .Net' started by =?Utf-8?B?Um90aGFyaWdlcg==?=, Nov 17, 2005.

  1. 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!
    =?Utf-8?B?Um90aGFyaWdlcg==?=, Nov 17, 2005
    #1
    1. Advertising

  2. 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
    --------------------------------------------------------------------------------
    All that glitters has a high refractive index.
    www.mendhak.com


    "Rothariger" <> wrote in message
    news:...
    > 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.M. Altaf [MVP], Nov 17, 2005
    #2
    1. Advertising

  3. Try to delete the first line in the HTML source

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

    I hope it works...
    Jose A. Fernandez, Nov 17, 2005
    #3
  4. 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>
    =?Utf-8?B?Um90aGFyaWdlcg==?=, Nov 17, 2005
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    670
  2. Replies:
    0
    Views:
    841
  3. mi
    Replies:
    4
    Views:
    13,416
    dorayme
    May 21, 2008
  4. elca
    Replies:
    0
    Views:
    557
  5. Daedalous
    Replies:
    3
    Views:
    659
    Daedalous
    Jan 16, 2004
Loading...

Share This Page