This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Screen resolution Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Screen resolution " Watch "Screen resolution " New topic

Screen resolution

Sri Gnana
Ranch Hand

Joined: Apr 29, 2004
Posts: 166
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.

Thanks & Regards
Sri Gnana
Everythings Programmed!...
Ashok Mash
Ranch Hand

Joined: Oct 13, 2000
Posts: 1936
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)



[ flickr ]
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24195

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.

[Jess in Action][AskingGoodQuestions]
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
If you use CSS with a fluid layout it will fit the screen for any resolution.
Sri Gnana
Ranch Hand

Joined: Apr 29, 2004
Posts: 166
I agree. Here's the link:
subject: Screen resolution
It's not a secret anymore!