Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 20th, 2007, 01:22 PM
Authorized User
 
Join Date: Jun 2007
Location: , , .
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP.net web forms and screen resolution

My web pages looks fine for screen resolutions over 1280 * 1024. But when it is anything less than that or 800*600 the whole display is messed up. How can i solve this problem?

This must be a common problem I guess.
So how do you tackle this issue while designing the screen itself so that it works for all resolutions..?

Thanks,
--Monika
  #2 (permalink)  
Old July 20th, 2007, 10:39 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You can't design a user interface that will work for all resolutions. The best you can do is build a simple and flexible interface that can adjust to the user's browser layout.

I suspect that most users are going to run in at least 800x600, if not 1024x768 so it's reasonable to make a layout that is good in the latter and acceptable in the former.

-Peter
  #3 (permalink)  
Old July 25th, 2007, 01:25 AM
Authorized User
 
Join Date: Aug 2005
Location: , , .
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Monika;
if we apply css to all controls on page and the tables' widths and heights are given in percentage, it works fine in all resolutions.
now dot net provides master page also which will make it easy.

  #4 (permalink)  
Old July 25th, 2007, 01:55 AM
Authorized User
 
Join Date: Jan 2007
Location: Islamabad, Punjab, Pakistan.
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to aliirfan84
Default

I agreed with 'p2pMember'. This can work perfeclty on % and using MasterPage is plus point for that.

Regards
Ali Irfan

  #5 (permalink)  
Old July 25th, 2007, 09:22 PM
Friend of Wrox
 
Join Date: Feb 2006
Location: , , USA.
Posts: 116
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I highly recommend the following websites for information on CSS layout and design:

http://www.alistpart.com/
http://quirksmode.com/
http://www.positioniseverything.net/

There are ways to layout website templates that are "liquid", meaning they have one or more content sections with flexible width that do a reasonably good job adjusting to any screen size/browser width.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Professional ASP.NET Web Forms Techniques qiusuo808 BOOK: Access 2003 VBA Programmer's Reference 0 August 26th, 2006 08:43 PM
HTML forms AND Screen resolution prabodh_mishra HTML Code Clinic 2 March 8th, 2006 07:41 PM
Adding Web Forms ASP.NET 2.0 userrob BOOK: ASP.NET Website Programming Problem-Design-Solution 2 February 13th, 2006 12:35 PM
use asp.net forms in web services. Abhinav_jain_mca .NET Web Services 1 August 12th, 2004 09:43 AM
Screen Resolution Sniffer - Can it be done in ASP? darinsee Classic ASP Basics 2 May 7th, 2004 11:01 AM



All times are GMT -4. The time now is 03:57 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.