473,386 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 1847
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: James Moe | last post by:
Hello, I just joined this group and saw the discussion "What do you think of resizing 1em to 10px?" I am somewhat confused by what y'all think should be used as a reference size. I was surprised...
23
by: BobK | last post by:
Hello Everyone, I am updating the CSS for my site but want new and original page to appear the same. My original CSS permits small increments of zooming (ctrl/mouse wheel) so that you get...
9
by: Les Juby | last post by:
I understand that there are several ways to effectively control the browser delivery of HTML to make the most effective use of the different screen resolutions today. (And in the foreseeable...
3
by: Salad | last post by:
What do you do when you've designed an app at 800x600 and you now want to make use of higher res?. It's an internal app and won't be distributed to the world. I'm sometimes asked to squeeze in...
11
by: Jozef | last post by:
I have some old code that I use from the Access 95 Developers handbook. The code works very well, with the exception that it doesn't seem to recognize wide screens, and sizes tab controls so that...
9
by: Gidi | last post by:
I've created a program in C#, which includes several Forms. some of the forms are in different size, but i start all of them in Window Normal Size. I took the exe file from the \bin\debug library...
2
by: Peter Oliphant | last post by:
I'm developing a program at home on a Windows Vista computer. In it I create a form with a few buttons on it that fill up the form's visible area. So, I took the application to work, where I use...
1
by: Bob Alston | last post by:
I have a system where many subforms are used. Often the size of the subform had to be larger than could be displayed without scrolling. I set the height of the subform to the typical height...
10
by: =?Utf-8?B?UmljaA==?= | last post by:
A lot of users at my workplace use different screen resolutions, and I build apps to use 1680 x 1050 pixels res by default. But some users are using 800 x 600, and the apps are too large for their...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...

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.