Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Learning Regular Expressions this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Screen resolution  RSS feed

 
Ranch Hand
Posts: 166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have developed web pages in the screen resolution 800x600, but my Client's using 1024x768 resolution, so that web page's not displaying properly, can any one tell me how to control the page resolution, like i wanna keep my pages in 800x600 resolution if the client using 1024x768 resolution.
 
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, you can't control the screen resolution of a random surfers box in the internet (you can, if your product is for a closed group, intranet etc). You can, however, resize the browser window to 800x600 size, and keep it at that size (using dirty javascripting on page load)

HTH!

Ashok.
 
author and iconoclast
Sheriff
Posts: 24220
40
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another option would be to design web pages that look OK at any resolution (within reason, anyway.) There isn't all that much difference between 800x600 and 1024x768; surely you can design things to look OK either way.

As this isn't Meaningless Drivel, but is in fact about HTML and JavaScript, I'm going to move this to the HTML and JavaScript forum for further discussion.
 
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you use CSS with a fluid layout it will fit the screen for any resolution.
 
Sri Gnana
Ranch Hand
Posts: 166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!