Print Page | Close Window

finding client screen res

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Web Design Discussion
Forum Description: Discussion on web design and development subjects.
URL: https://forums.webwiz.net/forum_posts.asp?TID=7292
Printed Date: 29 March 2026 at 5:16am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: finding client screen res
Posted By: Nathan
Subject: finding client screen res
Date Posted: 15 November 2003 at 6:38am

In my continuing web site revamp, I am adding a faded picture as a background - but in watermark mode so that it does not scroll up or down. The problem is, if the client screen resolution is set higher, then the picture starts repeating itself - making it look ugly. I am sure it is possible to read in the client's screen res and thus I could provide a picture background that would fit perfectly.

Any thoughts or feedback very welcome, or is this a naff idea?

Thanks

Nathan




Replies:
Posted By: KCWebMonkey
Date Posted: 15 November 2003 at 5:17pm

you can easily set the background to not repeat with CSS http://www.devguru.com/Technologies/css/quickref/css_backgroundrepeat.html - http://www.devguru.com/Technologies/css/quickref/css_backgro undrepeat.html

but for the screen resolution thing, you would probably find a script on http://javascript.internet.com - http://javascript.internet.com



Posted By: vitalise
Date Posted: 20 November 2003 at 9:20pm
just for the record, I don't think you can read the screen resolution - just the size of the browser window which may be different.

-------------
http://www.vitalise-web-design.com.au/web-design.htm - Vitalise Web Design


Posted By: KCWebMonkey
Date Posted: 20 November 2003 at 9:53pm
With javascript you can detect the pixel width and height of the viewer's screen.


Posted By: dpyers
Date Posted: 15 December 2003 at 6:12pm

One of the problems with designing for screen res is that many people don't run their browsers full screen. Even when they do, you have to accommodate scroll bars, various numbers of link bar rows, etc.

The css solution would be best.



-------------

Lead me not into temptation... I know the short cut, follow me.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net