954,580 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to Set web page resolution in asp.net

I am developing a web site based on Job Application. Now when i run this site at my client's computer the pages are look much wider.
I have 17 inch Monitor and my client has 15 inch monitor.
So how could i slove this problem regarding the screen resolution.

Please Help me out.

Dhruv Shah
Newbie Poster
17 posts since Sep 2006
Reputation Points: 10
Solved Threads: 0
 

You don't. Or, rather, you shouldn't worry about this it all. Pick a standard resolution, such as 800x600, and code for it. Trying to code for all possible screen resolutions and browser window sizes will drive you crazy, and in my opinion it's sticking your nose where it doesn't belong: inside the users' preferences for monitor and window settings.

That said, JavaScript does give a "screen" object which you can interrogate to gather info about resolution. ASP.NET should have that built in to some object or other for you.

tgreer
Made Her Cry
Team Colleague
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37
 
You don't. Or, rather, you shouldn't worry about this it all. Pick a standard resolution, such as 800x600, and code for it. Trying to code for all possible screen resolutions and browser window sizes will drive you crazy, and in my opinion it's sticking your nose where it doesn't belong: inside the users' preferences for monitor and window settings. That said, JavaScript does give a "screen" object which you can interrogate to gather info about resolution. ASP.NET should have that built in to some object or other for you.



i am using asp.net 2003 sir can you pls give me some pseudocode for this. my code behind is vb.net 2003

Dhruv Shah
Newbie Poster
17 posts since Sep 2006
Reputation Points: 10
Solved Threads: 0
 
tgreer
Made Her Cry
Team Colleague
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37
 

i have a web project and i need to apply a specific resolution to all the pages that is
1280 X 768
any suggestion how to do that
it's urgent do reply quickly

abc_abc
Newbie Poster
1 post since Oct 2010
Reputation Points: 10
Solved Threads: 0
 

How to Set web page resolution in asp.net with coding.. please help me the process with step by step ......

sivabalakiran
Newbie Poster
1 post since Nov 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You