Microsoft Windows Vista Community Forums - Vistaheads
Recommended Download



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Driver Scanner

IE8 using 100% of form

microsoft.public.internetexplorer.general






Speedup My PC
Reply
  #1 (permalink)  
Old 07-07-2009
Hank Anzis
 

Posts: n/a
IE8 using 100% of form
Hi,
I have a master page and a content page. I'm want the content page panel
to take up as much of the screen as possible, but in IE8 the height of the
panel takes up only about 50 px. It takes all the screen in IE6 and IE7. The
sample code follows. Can you point me in the right direction to get this
working in IE8?

Thanks
Hank

** Master page
<%@ Master Language="VB" AutoEventWireup="false"
CodeBehind="Master1.master.vb" Inherits="IE8Test.Master1" %>

<!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">
<link href="~/Styles.css" rel="stylesheet" type="text/css" />
<title>PAGE TITLE - Can be overridden by the content title</title>
</head>
<body style="margin:0;height:100%; width:100%;">
<form id="form2" runat="server" style="height:100%; width:100%;" >
<table style="height:100%; width:100%;" cellpadding="0"
cellspacing="0">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0"
width="100%" style="background-color:#000066;">
<tr>
<td align="center"><span style="color:#ffffff;
font-size:12pt;font-family:arial, helvetica; font-weight:bold;">
<asp:Label ID="lblTitle" runat="server"
Text="APPLICATION TITLE"></asp:Label></span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" style="height:95%">
<table style="height:100%; width:100%; margin-left:5px;
margin-top:0px;">
<tr>
<td valign="top" style="height:100%" >
<asp:contentplaceholder
id="ContentPlaceHolder1" runat="server"></asp:contentplaceholder>
</td>
</tr>
</table>
</td>
</tr>

</table>
</form>
</body>
</html>

** Content Page
<%@ Page Language="vb" AutoEventWireup="false"
MasterPageFile="~/Master1.Master" CodeBehind="Default.aspx.vb"
Inherits="IE8Test._Default"
title="IE8 Test" %>
<%@ Register TagPrefix="spl" Namespace="OboutInc.Splitter2"
Assembly="obout_Splitter2_Net" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<asp:Panel ID="pnlItems" runat="server" Height="90%" Width="98%"
BackColor="Ivory" BorderColor="ActiveBorder" BorderStyle="Solid">
</asp:Panel>
</asp:Content>


Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-07-2009
Robert Aldwinckle
 

Posts: n/a
Re: IE8 using 100% of form

"Hank Anzis" <HankAnzis@discussions.microsoft.com> wrote in message news:5BF82D69-7C25-41F2-A7A1-E40DA866BF66@microsoft.com...
> Hi,
> I have a master page and a content page. I'm want the content page panel
> to take up as much of the screen as possible, but in IE8 the height of the
> panel takes up only about 50 px. It takes all the screen in IE6 and IE7. The
> sample code follows.


> Can you point me in the right direction to get this working in IE8?



The MSDN forum for IE web development. ; )


>
> Thanks
> Hank
>
> ** Master page
> <%@ Master Language="VB" AutoEventWireup="false"
> CodeBehind="Master1.master.vb" Inherits="IE8Test.Master1" %>
>
> <!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">
> <link href="~/Styles.css" rel="stylesheet" type="text/css" />
> <title>PAGE TITLE - Can be overridden by the content title</title>
> </head>
> <body style="margin:0;height:100%; width:100%;">
> <form id="form2" runat="server" style="height:100%; width:100%;" >
> <table style="height:100%; width:100%;" cellpadding="0"
> cellspacing="0">
> <tr>
> <td>
> <table border="0" cellpadding="0" cellspacing="0"
> width="100%" style="background-color:#000066;">
> <tr>
> <td align="center"><span style="color:#ffffff;
> font-size:12pt;font-family:arial, helvetica; font-weight:bold;">
> <asp:Label ID="lblTitle" runat="server"
> Text="APPLICATION TITLE"></asp:Label></span></td>
> </tr>
> </table>
> </td>
> </tr>
> <tr>
> <td valign="top" style="height:95%">
> <table style="height:100%; width:100%; margin-left:5px;
> margin-top:0px;">
> <tr>
> <td valign="top" style="height:100%" >
> <asp:contentplaceholder
> id="ContentPlaceHolder1" runat="server"></asp:contentplaceholder>
> </td>
> </tr>
> </table>
> </td>
> </tr>
>
> </table>
> </form>
> </body>
> </html>
>
> ** Content Page
> <%@ Page Language="vb" AutoEventWireup="false"
> MasterPageFile="~/Master1.Master" CodeBehind="Default.aspx.vb"
> Inherits="IE8Test._Default"
> title="IE8 Test" %>
> <%@ Register TagPrefix="spl" Namespace="OboutInc.Splitter2"
> Assembly="obout_Splitter2_Net" %>
> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
> runat="server">
> <asp:Panel ID="pnlItems" runat="server" Height="90%" Width="98%"
> BackColor="Ivory" BorderColor="ActiveBorder" BorderStyle="Solid">
> </asp:Panel>
> </asp:Content>
>
>



Reply With Quote
  #3 (permalink)  
Old 07-07-2009
Mike
 

Posts: n/a
Re: IE8 using 100% of form
On Jul 7, 8:14*am, Hank Anzis <HankAn...@discussions.microsoft.com>
wrote:
> Hi,
> * I have a master page and a content page. I'm want the content page panel
> to take up as much of the screen as possible, but in IE8 the height of the
> panel takes up only about 50 px. It takes all the screen in IE6 and IE7. The
> sample code follows. Can you point me in the right direction to get this
> working in IE8?
>
> Thanks
> Hank
>
> ** Master page
> <%@ Master Language="VB" AutoEventWireup="false"
> CodeBehind="Master1.master.vb" Inherits="IE8Test.Master1" %>
>
> <!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">
> * * <link href="~/Styles.css" rel="stylesheet" type="text/css" />
> * * <title>PAGE TITLE - Can be overridden by the content title</title>
> </head>
> <body style="margin:0;height:100%; width:100%;">
> * * <form id="form2" runat="server" style="height:100%; width:100%;" >
> * * * * <table style="height:100%; width:100%;" cellpadding="0"
> cellspacing="0">
> * * * * * * <tr>
> * * * * * * * * <td>
> * * * * * * * * * * <table border="0" cellpadding="0" *cellspacing="0"
> width="100%" style="background-color:#000066;">
> * * * * * * * * * * * * * * <tr>
> * * * * * * * * * * * * * * * * * * <td align="center"><span style="color:#ffffff;
> font-size:12pt;font-family:arial, helvetica; *font-weight:bold;">
> * * * * * * * * * * * * * * * * <asp:Label ID="lblTitle" runat="server"
> Text="APPLICATION TITLE"></asp:Label></span></td>
> * * * * * * * * * * * * * * </tr>
> * * * * * * * * * * </table>
> * * * * * * * * </td>
> * * * * * * </tr>
> * * * * * * <tr>
> * * * * * * * * <td valign="top" style="height:95%">
> * * * * * * * * * * <table style="height:100%; width:100%; margin-left:5px;
> margin-top:0px;">
> * * * * * * * * * * * * <tr>
> * * * * * * * * * * * * * * <td valign="top" style="height:100%" >
> * * * * * * * * * * * * * * * * <asp:contentplaceholder
> id="ContentPlaceHolder1" runat="server"></asp:contentplaceholder>
> * * * * * * * * * * * * * * </td>
> * * * * * * * * * * * * </tr>
> * * * * * * * * * * </table>
> * * * * * * * * </td>
> * * * * * * </tr>
>
> * * * * </table>
> * * </form>
> </body>
> </html>
>
> ** Content Page
> <%@ Page Language="vb" AutoEventWireup="false"
> MasterPageFile="~/Master1.Master" CodeBehind="Default.aspx.vb"
> Inherits="IE8Test._Default"
> * * title="IE8 Test" %>
> <%@ Register TagPrefix="spl" Namespace="OboutInc.Splitter2"
> Assembly="obout_Splitter2_Net" %>
> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
> runat="server">
> * * <asp:Panel ID="pnlItems" runat="server" Height="90%" Width="98%"
> BackColor="Ivory" BorderColor="ActiveBorder" BorderStyle="Solid">
> * * </asp:Panel>
> </asp:Content>


You should talk about only the HTML/CSS that is sent to the browser.
Since it seems like you're having a browser rendering issue - you
probably don't need to involve ASP.Net in the discussion. Select
"View Source" in IE 8 and post that source.
Reply With Quote
  #4 (permalink)  
Old 07-07-2009
PA Bear [MS MVP]
 

Posts: n/a
Re: IE8 using 100% of form
IE Developer Center
http://msdn.microsoft.com/en-us/ie/default.aspx

Learn IE8
http://msdn.microsoft.com/en-us/ie/aa740473.aspx

HTML and DHTML Overviews and Tutorials
http://msdn.microsoft.com/en-us/library/ms537623.aspx and

Cascading Style Sheets (CSS)
http://msdn2.microsoft.com/en-us/ie/aa740476.aspx

Or you could post here instead:

MSDN IE Development Forums
http://social.msdn.microsoft.com/for...iedevelopment/

--
~Robear Dyer (PA Bear)
MS MVP-IE, Mail, Security, Windows Client - since 2002

Hank Anzis wrote:
> Hi,
> I have a master page and a content page. I'm want the content page panel
> to take up as much of the screen as possible, but in IE8 the height of the
> panel takes up only about 50 px. It takes all the screen in IE6 and IE7.
> The
> sample code follows. Can you point me in the right direction to get this
> working in IE8?
>
> Thanks
> Hank
>
> ** Master page
> <%@ Master Language="VB" AutoEventWireup="false"
> CodeBehind="Master1.master.vb" Inherits="IE8Test.Master1" %>
>
> <!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">
> <link href="~/Styles.css" rel="stylesheet" type="text/css" />
> <title>PAGE TITLE - Can be overridden by the content title</title>
> </head>
> <body style="margin:0;height:100%; width:100%;">
> <form id="form2" runat="server" style="height:100%; width:100%;" >
> <table style="height:100%; width:100%;" cellpadding="0"
> cellspacing="0">
> <tr>
> <td>
> <table border="0" cellpadding="0" cellspacing="0"
> width="100%" style="background-color:#000066;">
> <tr>
> <td align="center"><span style="color:#ffffff;
> font-size:12pt;font-family:arial, helvetica; font-weight:bold;">
> <asp:Label ID="lblTitle" runat="server"
> Text="APPLICATION TITLE"></asp:Label></span></td>
> </tr>
> </table>
> </td>
> </tr>
> <tr>
> <td valign="top" style="height:95%">
> <table style="height:100%; width:100%; margin-left:5px;
> margin-top:0px;">
> <tr>
> <td valign="top" style="height:100%" >
> <asp:contentplaceholder
> id="ContentPlaceHolder1" runat="server"></asp:contentplaceholder>
> </td>
> </tr>
> </table>
> </td>
> </tr>
>
> </table>
> </form>
> </body>
> </html>
>
> ** Content Page
> <%@ Page Language="vb" AutoEventWireup="false"
> MasterPageFile="~/Master1.Master" CodeBehind="Default.aspx.vb"
> Inherits="IE8Test._Default"
> title="IE8 Test" %>
> <%@ Register TagPrefix="spl" Namespace="OboutInc.Splitter2"
> Assembly="obout_Splitter2_Net" %>
> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
> runat="server">
> <asp:Panel ID="pnlItems" runat="server" Height="90%" Width="98%"
> BackColor="Ivory" BorderColor="ActiveBorder" BorderStyle="Solid">
> </asp:Panel>
> </asp:Content>


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop IE7 form saving form field data? +Bob+ microsoft.public.internetexplorer.general 4 01-05-2009 01:20
Aspose.Form for .NET 1.1.0.0 VistaDev Vista Software Development Feed 0 07-01-2008 23:40
Hi to everyone in the Form Sunilb Introduce Yourself 2 03-24-2008 20:27




All times are GMT +1. The time now is 05:06.




Driver Scanner - Free Scan Now

Vistaheads.com is part of the Heads Network. See also XPHeads.com , Win7Heads.com and Win8Heads.com.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 RC 2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120