Current location: Hot Scripts Forums » Programming Languages » ASP.NET » Pages not displaying same in every System


Pages not displaying same in every System

Reply
  #1 (permalink)  
Old 09-10-08, 10:09 AM
nitesh98 nitesh98 is offline
Newbie Coder
 
Join Date: Mar 2008
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Pages not displaying same in every System

Hello Everyone,

I am developing a website in ASP.net. The problem I am facing is of resolution. The website I see in my system does not appear to be same in other systems. Like in some systems the pages look smaller and also problem creates in if I open it in different browsers. So please tell me if there is any resoution code to fix the look of website same in every system and every browser. I want to know if there is any technique through which pages can themselves adjust according to the settings at client side. Please help me here.

Thank You
Reply With Quote
  #2 (permalink)  
Old 09-11-08, 04:29 AM
omniman's Avatar
omniman omniman is offline
Coding Addict
 
Join Date: Aug 2006
Location: Baltimore, MD
Posts: 342
Thanks: 0
Thanked 1 Time in 1 Post
First of all, if you have never heard of the concept of browser (in)compatibility...let me introduce you to the bastard step-child of web design. It is a known fact that sites will look/act slightly different among browsers.

But, I have a suspicion that your problem is more of a general resolution issue than a web-specific problem. I'm guessing you have your resolution way low, and when you see it on another machine, everything appears smaller - not just your site.

Be a little more descriptive... we either need a live link, or at least some screen shots. What is your desktop resolution set as?
__________________
"Political Correctness is a doctrine, fostered by a delusionary, illogical, liberal minority and rabidly promoted by an unscrupulous mainstream media, which holds forth the proposition that it is entirely possible to pick up a turd by the clean end."
Reply With Quote
  #3 (permalink)  
Old 09-12-08, 09:58 AM
nitesh98 nitesh98 is offline
Newbie Coder
 
Join Date: Mar 2008
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
problem of resolution

These are url

when resolution is 800 by 600 pixels
http://d8048766.u122.bulhostpro.org/2.jpg

and when resolution is 1024 by 768 pixels
http://d8048766.u122.bulhostpro.org/1.jpg

please give me solution
Reply With Quote
  #4 (permalink)  
Old 09-12-08, 10:06 AM
omniman's Avatar
omniman omniman is offline
Coding Addict
 
Join Date: Aug 2006
Location: Baltimore, MD
Posts: 342
Thanks: 0
Thanked 1 Time in 1 Post
Do you understand what resolution is?

By increasing your resolution, you are essentially increasing the number of pixels displayed - hence, the reason things look smaller.

As I said before, this isn't a web issue but rather a general issue. Actually, it's not even an issue.

Pick a resolution to develop against and stick with that. 1024x768 is the most common resolution, I design according to that. I also keep everything below 1000 to allow for a scroll bar. Anyone that views the site with 800x600 needs to get a pair of glasses and increase their resolution.

Your only option is to design multiple versions of the site, test the users resolution on page load, and redirect accordingly. Quite a lot of work and not worth it.
__________________
"Political Correctness is a doctrine, fostered by a delusionary, illogical, liberal minority and rabidly promoted by an unscrupulous mainstream media, which holds forth the proposition that it is entirely possible to pick up a turd by the clean end."
Reply With Quote
  #5 (permalink)  
Old 09-13-08, 01:02 AM
nitesh98 nitesh98 is offline
Newbie Coder
 
Join Date: Mar 2008
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
How will i know what resolution is there in users machine so that i can redirect to different resolution page.

Please help
Thanks
Reply With Quote
  #6 (permalink)  
Old 09-13-08, 07:17 AM
omniman's Avatar
omniman omniman is offline
Coding Addict
 
Join Date: Aug 2006
Location: Baltimore, MD
Posts: 342
Thanks: 0
Thanked 1 Time in 1 Post
I'm just curious... is it easier to post a question and wait for a response, than it is to do a quick search and get the answer in 2 minutes? I suppose it is...

javascript Code:
  1. <script type="text/javascript">
  2.      function detect(){
  3.           if(screen.width<1280||screen.height<1024){
  4.                location.href('highres.html');
  5.           }else{
  6.                location.href('lowres.html');
  7.           }
  8.      }
  9. </script>
__________________
"Political Correctness is a doctrine, fostered by a delusionary, illogical, liberal minority and rabidly promoted by an unscrupulous mainstream media, which holds forth the proposition that it is entirely possible to pick up a turd by the clean end."
Reply With Quote
  #7 (permalink)  
Old 09-13-08, 03:00 PM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
Quote:
Originally Posted by omniman View Post
I'm just curious... is it easier to post a question and wait for a response, than it is to do a quick search and get the answer in 2 minutes? I suppose it is...
Welcome to my world, Omniman.

I see this chronic inability to search for an answer day in and day out. No initiave at all, zero, zip, nada.

All nitesh98 had to do was type "detect browser resolution" into Google and he'd have gotten over 180,000 pages with code samples, explanations, etc etc etc. I often wonder what these people do at work, and how they manage to stay employed.
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data | Oracle Date & Substring Functions | Code Snippet Library | [url=http://www.codmb.com/Call Of Duty[/url]
Reply With Quote
  #8 (permalink)  
Old 09-17-08, 11:02 PM
nitesh98 nitesh98 is offline
Newbie Coder
 
Join Date: Mar 2008
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
displaying images

Thanx sir



jhadgsjhasdg jashj asj gfsmdf ds smdj gfsmdj fsmd fdsfm gsdm f
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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 On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IE problems with encoding and displaying pages kittenesque HTML/XHTML/XML 1 10-21-06 04:59 PM
how to link to insert pages samkry ASP 0 06-13-04 11:14 PM
Need Epinions-lite system in PHP & MYSQL wali001 Job Offers & Assistance 4 01-12-04 06:02 AM
Total: 27 Displaying: 1 - 10 Pages: 1 2 3 [>>] Slartibartfarst ASP 2 11-26-03 09:30 PM


All times are GMT -5. The time now is 02:40 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.