469,912 Members | 1,772 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

form size with different client resolutions

My Web forms display differently on different machine with the same
resolution. The pages are designed to fit in 800*600 res but on some
machines with 800*600 the form appears too big.

Are there any built in functions to adjust the form based on resolution?
Is there a way to detect the clients resolution?
1 last one, when using an image, how do I get the image to stay
proportionate when reduced?

Thanks,
Joe
Nov 18 '05 #1
5 1669
What type of positioning are you using for your form elements?

Something like this:

<form runat="server" id="myForm>
<input type="text"><br />
<input type="submit">
</form>

will look the same no matter what size the browser is. I would start by
looking at how you are positioning your form elements (eg are they
positioned relative to the size of the browser?)

Cheers
Ken

"Joe Bonavita" <JBonavita_@_caminus.com> wrote in message
news:eH**************@TK2MSFTNGP11.phx.gbl...
: My Web forms display differently on different machine with the same
: resolution. The pages are designed to fit in 800*600 res but on some
: machines with 800*600 the form appears too big.
:
: Are there any built in functions to adjust the form based on resolution?
: Is there a way to detect the clients resolution?
: 1 last one, when using an image, how do I get the image to stay
: proportionate when reduced?
:
: Thanks,
: Joe
:
:
Nov 18 '05 #2
what does input type do?

Also, how do I set the positioning relative to the browser?

(forgive me, I'm new to this stuff. Buying a book in the morning - any
suggestions?)

Thanks,
Joe

"Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message
news:uQ**************@tk2msftngp13.phx.gbl...
What type of positioning are you using for your form elements?

Something like this:

<form runat="server" id="myForm>
<input type="text"><br />
<input type="submit">
</form>

will look the same no matter what size the browser is. I would start by
looking at how you are positioning your form elements (eg are they
positioned relative to the size of the browser?)

Cheers
Ken

"Joe Bonavita" <JBonavita_@_caminus.com> wrote in message
news:eH**************@TK2MSFTNGP11.phx.gbl...
: My Web forms display differently on different machine with the same
: resolution. The pages are designed to fit in 800*600 res but on some
: machines with 800*600 the form appears too big.
:
: Are there any built in functions to adjust the form based on resolution?
: Is there a way to detect the clients resolution?
: 1 last one, when using an image, how do I get the image to stay
: proportionate when reduced?
:
: Thanks,
: Joe
:
:

Nov 18 '05 #3
you users are probably using different font sizes. unless you can control
the fonts and resolution of your users' machines (say thru sms), you should
not use grid layout or you have this problem.

if you want to use grid layout and con not control the font size and screen
resolution, then you need to write client code that adjusts the widths of
the controls and recalcs the offsets.

client code can detect the screen resolution and send it to the server, but
it can not directy know the font size. the best you can do is render some
know text, then send back to the server its actual rendered width and
height. you would do this on a sniffer page.

-- bruce (sqlwork.com)

"Joe Bonavita" <JBonavita_@_caminus.com> wrote in message
news:eH**************@TK2MSFTNGP11.phx.gbl...
My Web forms display differently on different machine with the same
resolution. The pages are designed to fit in 800*600 res but on some
machines with 800*600 the form appears too big.

Are there any built in functions to adjust the form based on resolution?
Is there a way to detect the clients resolution?
1 last one, when using an image, how do I get the image to stay
proportionate when reduced?

Thanks,
Joe

Nov 18 '05 #4
I suggest you get a book on HTML then

<input type="text">

is the HTML that creates a standard text input box on a browser. The <input
type="submit"> creates the standard grey button that is used to submit a
form.

Cheers
Ken
"Joe Bonavita" <JBonavita_@_caminus.com> wrote in message
news:uQ**************@TK2MSFTNGP11.phx.gbl...
: what does input type do?
:
: Also, how do I set the positioning relative to the browser?
:
: (forgive me, I'm new to this stuff. Buying a book in the morning - any
: suggestions?)
:
: Thanks,
: Joe
:
: "Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message
: news:uQ**************@tk2msftngp13.phx.gbl...
: > What type of positioning are you using for your form elements?
: >
: > Something like this:
: >
: > <form runat="server" id="myForm>
: > <input type="text"><br />
: > <input type="submit">
: > </form>
: >
: > will look the same no matter what size the browser is. I would start by
: > looking at how you are positioning your form elements (eg are they
: > positioned relative to the size of the browser?)
: >
: > Cheers
: > Ken
: >
: > "Joe Bonavita" <JBonavita_@_caminus.com> wrote in message
: > news:eH**************@TK2MSFTNGP11.phx.gbl...
: > : My Web forms display differently on different machine with the same
: > : resolution. The pages are designed to fit in 800*600 res but on some
: > : machines with 800*600 the form appears too big.
: > :
: > : Are there any built in functions to adjust the form based on
resolution?
: > : Is there a way to detect the clients resolution?
: > : 1 last one, when using an image, how do I get the image to stay
: > : proportionate when reduced?
: > :
: > : Thanks,
: > : Joe
: > :
: > :
: >
: >
:
:
Nov 18 '05 #5
Thanks. I'll pickup an HTML book. Any recommendations?
"Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message
news:Op**************@TK2MSFTNGP11.phx.gbl...
I suggest you get a book on HTML then

<input type="text">

is the HTML that creates a standard text input box on a browser. The <input type="submit"> creates the standard grey button that is used to submit a
form.

Cheers
Ken
"Joe Bonavita" <JBonavita_@_caminus.com> wrote in message
news:uQ**************@TK2MSFTNGP11.phx.gbl...
: what does input type do?
:
: Also, how do I set the positioning relative to the browser?
:
: (forgive me, I'm new to this stuff. Buying a book in the morning - any
: suggestions?)
:
: Thanks,
: Joe
:
: "Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message
: news:uQ**************@tk2msftngp13.phx.gbl...
: > What type of positioning are you using for your form elements?
: >
: > Something like this:
: >
: > <form runat="server" id="myForm>
: > <input type="text"><br />
: > <input type="submit">
: > </form>
: >
: > will look the same no matter what size the browser is. I would start by : > looking at how you are positioning your form elements (eg are they
: > positioned relative to the size of the browser?)
: >
: > Cheers
: > Ken
: >
: > "Joe Bonavita" <JBonavita_@_caminus.com> wrote in message
: > news:eH**************@TK2MSFTNGP11.phx.gbl...
: > : My Web forms display differently on different machine with the same
: > : resolution. The pages are designed to fit in 800*600 res but on some
: > : machines with 800*600 the form appears too big.
: > :
: > : Are there any built in functions to adjust the form based on
resolution?
: > : Is there a way to detect the clients resolution?
: > : 1 last one, when using an image, how do I get the image to stay
: > : proportionate when reduced?
: > :
: > : Thanks,
: > : Joe
: > :
: > :
: >
: >
:
:

Nov 18 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

21 posts views Thread by James Moe | last post: by
23 posts views Thread by BobK | last post: by
9 posts views Thread by Les Juby | last post: by
11 posts views Thread by Jozef | last post: by
2 posts views Thread by Peter Oliphant | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.