Pages not displaying same in every System

09-10-08, 10:09 AM
|
|
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
|

09-11-08, 04:29 AM
|
 |
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."
|

09-12-08, 10:06 AM
|
 |
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."
|

09-13-08, 01:02 AM
|
|
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
|

09-13-08, 07:17 AM
|
 |
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:
<script type="text/javascript"> function detect(){ if(screen.width<1280||screen.height<1024){ location.href('highres.html'); }else{ location.href('lowres.html'); } } </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."
|

09-13-08, 03:00 PM
|
 |
Level II Curmudgeon
|
|
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
|
|
Quote:
Originally Posted by omniman
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.
|

09-17-08, 11:02 PM
|
|
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
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|