473,508 Members | 2,445 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Resize form based on browser client area

Hi,

My default page has a table - can anyone tell me how to resize the height of
the table to fit the client area of the browser?

--
Any help much appreciated...
Mark
Nov 19 '05 #1
4 1451
Height="100%"
--
Milosz Skalecki
MCP, MCAD
"Mark" wrote:
Hi,

My default page has a table - can anyone tell me how to resize the height of
the table to fit the client area of the browser?

--
Any help much appreciated...
Mark

Nov 19 '05 #2
Don't use absolute width/height, but percent instead

e.g. instead of <Table width="200px"> use <table width="50%">

Alternatively you can look into CSS for this. CSS is great to separate
the logical layout of your page from the physical appeareance
(e.g. csszengarden.com)

Nov 19 '05 #3
> My default page has a table - can anyone tell me how to resize the height
of
the table to fit the client area of the browser?


HTML objects will take up as much vertical space as they need.

-Darrel
Nov 19 '05 #4
JP
You can use a style like

style="{width:expression(document.body.clientWidth-69);height:expression(document.body.clientHeight-69);}"

Hope this helps.
Cheers,
JP
------------------------------------------------------------------
A program is a device used to convert,
data into error messages
------------------------------------------------------------------
"Mark" <sw****@hotmail.com> wrote in message
news:eB***************@tk2msftngp13.phx.gbl...
Hi,

My default page has a table - can anyone tell me how to resize the height
of the table to fit the client area of the browser?

--
Any help much appreciated...
Mark

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1966
by: rams.kakara | last post by:
hi, My page have background image,on that image have more images and text. My problem is whenever resize browser that images are not resized and also not moved correct place .(i.e look not like...
6
5612
by: David Hayes | last post by:
juglesh <juglesh@nospamRadioKDUG.com> wrote in "Re: how to maximize the browser window that fits the monitor size?" (Saturday, January 01, 2005 3:12 AM): > > >I want to maximize the browser...
1
1618
by: SPG | last post by:
Hi, Please diregard my previous post... I have found out that doing a window.resizeTo(w,h) does not resize the client area tot his size, but the entire window (including tool bars etc). So,...
0
1295
by: Bisbal | last post by:
Hi All, I have created a class that simulates a MDI form by putting the 'child' inside a panel located in the 'parent' form. I had to do this because we use a custom UI that doesn't work...
2
1861
by: Daniel Khor | last post by:
Does anyone know how to make the content in the web form resize together when the browser is being adjusted ? Your help will be appreciated .. Daniel Khor.
14
3396
by: Galen Somerville | last post by:
My current screen resolution is set to 1024 x 768. My form size always comes up as 1032 x 748. I have tried the help sample ' Retrieve the working rectangle from the Screen class ' using the...
6
4498
by: Bob Bedford | last post by:
Hi all, I've a classic upload form where people may select images on their computer to send on my website. Since this is done by people not very confortable with computers, some sent pictures...
5
2730
by: Doug Gunnoe | last post by:
I'm considering resizing a div onload to better match the screen width of the user. Easy enough, however it seems that I have read in this group that there are potential problems with this,...
0
7114
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7321
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7377
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7034
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5045
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
412
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.