• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 341
  • Last Modified:

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?
0
NUCLEARE
Asked:
NUCLEARE
1 Solution
 
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
 
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
 
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now