.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Resolution

Posted By: Ruchi     Posted Date: November 06, 2008    Points:2   Category :ASP.Net
i have developed my site but there is resolution problem
please suggest some quick solution except percent

Responses
Author: Rahul             
Posted Date: November 06, 2008     Points: 5   

Hi,
you can do either of three thing listed below

1) Fix the minimum size at one point say 800x600 (Old approch)

2) Use percentages for setting the control width and height instead of setting pixal for controls table etc.

3) you could also set the parameters witdh programmatically by detecting the user
screen settings.

Author: shahin             
Posted Date: November 07, 2008     Points: 5   

hi rahul,
can u explain in detail or by code this

1) Fix the minimum size at one point say 800x600 (Old approch)
2)you could also set the parameters witdh programmatically by detecting the user
screen settings.

i kn0w % slon but now my project is in tesing mode so almost prepared
which is better one

see i set contol as absolute position

Author: Rahul             
Posted Date: November 07, 2008     Points: 5   

Hi,
For the 1st approch just set the height/width of the main table or div tag in the page to 800x600

and for the second approch you need to have 2-3 stylesheet and all the control's property should be assigned throu that style sheet. now say that client resolution is 1200x900 the load the stylesheet for 1200_900.css.

Hope this will help you



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend