This week's book giveaway is in the Testing forum.
We're giving away four copies of Practical Unit Testing with TestNG and Mockito and have Tomek Kaczanowski 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
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Screen resolution " Watch "Screen resolution " New topic
Author

Screen resolution

Sri Gnana
Ranch Hand

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


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)

HTH!

Ashok.


[ flickr ]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 23395

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
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
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
Thanks
 
 
subject: Screen resolution
 
Threads others viewed
Screen resolution
Converting from null Layout to Layouts
Resolution problem(pl.. help)
maximize JFrame when showing
Only one question in Devaka's Exam Lab...?
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture