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?
 
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.
0
 
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.

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

0
 
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.
0
 
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
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.