469,950 Members | 1,568 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,950 developers. It's quick & easy.

Adjusting to screen width

VJ
Is there a any known easy way to fit web pages for a screen resolution. Can
I do this programmatically?

VJ
Nov 18 '05 #1
5 2771
<table width=100% height=100%>
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"VJ" <vi********@yahoo.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Is there a any known easy way to fit web pages for a screen resolution. Can I do this programmatically?

VJ

Nov 18 '05 #2
My preference is to dispose UI elements in a table that uses a 100 % width.
This way the browser tries to dispose things using the whole width... (you
can also just center things if they are really too narrow but you have the
basic idea that is to let the browser do the exact placement based on your
stylistic indications. Do you have a specific issue in mind ?).

Patrice

"VJ" <vi********@yahoo.com> a écrit dans le message de
news:%2****************@tk2msftngp13.phx.gbl...
Is there a any known easy way to fit web pages for a screen resolution. Can I do this programmatically?

VJ

Nov 18 '05 #3
VJ
Guess my question was not placed correctly, let me try again

We are developing web pages that will be viewed in Tablet PCs. The page has
frames with lot of controls in them. The pages were developed for 1024 X 768
resolution in a desktop computers. They work fine with no scroll bars on
Tablet PC in Landscape mode. In portrait mode, we get horizontal and
vertical scroll bars. How do I fit the page back in portrait mode, so that
scroll bars don't appear.

VJ

"VJ" <vi********@yahoo.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Is there a any known easy way to fit web pages for a screen resolution. Can I do this programmatically?

VJ

Nov 18 '05 #4
put a table as your top level control.
That will define your limits then, from there dont hard-code any fixed
widths, only %'s.
This should auto-wrap any thing that would scroll the page. I would only do
this for width though, not height. Let that scroll

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"VJ" <vi********@yahoo.com> wrote in message
news:eh**************@TK2MSFTNGP12.phx.gbl...
Guess my question was not placed correctly, let me try again

We are developing web pages that will be viewed in Tablet PCs. The page has frames with lot of controls in them. The pages were developed for 1024 X 768 resolution in a desktop computers. They work fine with no scroll bars on
Tablet PC in Landscape mode. In portrait mode, we get horizontal and
vertical scroll bars. How do I fit the page back in portrait mode, so that
scroll bars don't appear.

VJ

"VJ" <vi********@yahoo.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Is there a any known easy way to fit web pages for a screen resolution.

Can
I do this programmatically?

VJ


Nov 18 '05 #5
Andy Smith has an interesting control that might help with the screen size
detection:
ResizeMonitor Control

The ResizeMonitor control raises server-side events when the user changes
their browser window size.

http://www.metabuilders.com/Tools/ResizeMonitor.aspx

"VJ" <vi********@yahoo.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Is there a any known easy way to fit web pages for a screen resolution.
Can
I do this programmatically?

VJ


Nov 18 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Laura | last post: by
1 post views Thread by Alexia | last post: by
18 posts views Thread by DavidS | last post: by
1 post views Thread by vunet.us | last post: by
3 posts views Thread by Safalra (Stephen Morley) | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.