Resize form based on browser client area

M

Mark

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?
 
S

Stefan

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)
 
D

darrel

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
 
J

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
 

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
474,266
Messages
2,571,082
Members
48,773
Latest member
Kaybee

Latest Threads

Top