I just went through figuring this out, myself. Remember
that the 100% really means to fill 100% of the container
that particular element is in. In order for this to work
cross-browser, you have to do something like this...
html, body
{
width:100%;
height:100%;
padding:0px;
margin:0px;
}
#tableId
{
width:100%;
height:100%;
}
If you're using tables to lay out the page, the outer table
is actually contained by the body of the page.
Mitch
http://www.enterpriseetc
.com
----- Original Message ----
From: Boster Sibande <boster ICTMALAWI.ORG>
To: DOTNET-WEB DISCUSS.DEVELOP.COM
Sent: Wednesday, May 24, 2006 9:03:26 AM
Subject: Re: [DOTNET-WEB] Resizing pages to fill Browser
>I would like my web pages to shrink/expand to fill the
web browser
>screen regardless of the display settings of the users
screen. Can
>anyone give me a hint as to what command I should be
looking for?
Use HTML tables without specifying width as container of
objects
e.g. <table bgcolor="teal">
<tr>
<td>
Put your stuff here.
</td>
</tr>
</table>
Alternatively you can use percentage width e.g. <table
style="width: 100%">
You can also use percentage width on cells <td>.
Boster
-----Original Message-----
From: Discussion of building .NET applications targeted for
the Web
[mailto OTNET-WE
B DISCUSS.DEVELOP.COM] On Behalf Of David Emerson
Sent: 22 May 2006 03:26
To: DOTNET-WEB DISCUSS.DEVELOP.COM
Subject: [DOTNET-WEB] Resizing pages to fill Browser
I am using Visual Studio Express V2.0.
I would like my web pages to shrink/expand to fill the web
browser
screen regardless of the display settings of the users
screen. Can
anyone give me a hint as to what command I should be looking
for?
===================================
This list is hosted by DevelopMentor. http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
===================================
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
===================================
This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|