FITTING WEB FORMS FOR EVERY CLIENT SCREEN RESOLUTION

HI,
i'd like to understand,because i'm new in asp.net how can design web forms in asp.net that fits
every client resolution.
Can you show me an example?
NUCLEAREAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GavinMannionCommented:
Just use the percentage option when designing your tables.

<table width="100%.....

Then depending on the browser the form will be bigger or smaller.

You can also pick up screen resolution using javascript and move things around that way as well.

NUCLEAREAuthor Commented:
Hi gavin,
all my asp controls(text box etc) have to be inside the table right?
Their width have to be in percentage (now are in pixels)

GavinMannionCommented:
If you want your table to expand and contract to fit the screen then make them percentages yes.

Your controls I would generally say that you don't really want them to expand and contract but if you do then yes use percentages.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
deepaknetCommented:
As GavinMannion has told, relative percentage would be a best measure for designing webpages that gracefully scale to all screen resolutions.

However, you need to still take care of in embedded objects like Java Applets, ActiveX controls and Flash.
VIkasumitCommented:
Hi,

For Making Fitable GUI, I generally give my client with Floating Header and Footer, that expand to fit.
And my other part remain the same except the main working content area with gain some extra width.

But yes, you need to set in Percentage for the floating Width,

But I suggest you study some design from here

http://www.csszengarden.com
and http://oswd.org

These are two site gives you  all power you want for your Website.

VIkasumit
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.