Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 20th, 2007, 01:22 PM
Authorized User
 
Join Date: Jun 2007
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
 
Old July 20th, 2007, 10:39 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
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
 
Old July 25th, 2007, 01:25 AM
Authorized User
 
Join Date: Aug 2005
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.

 
Old July 25th, 2007, 01:55 AM
Authorized User
 
Join Date: Jan 2007
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

 
Old July 25th, 2007, 09:22 PM
Friend of Wrox
 
Join Date: Feb 2006
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.





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





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