Forum Moderators: open

Message Too Old, No Replies

Change Background Position for Different Screen Resolutions

         

ChrisGJ

9:52 am on Aug 16, 2006 (gmt 0)

10+ Year Member



Hello. Would it be possible to move the background depending on the users screen resolution? For example, if I have a background designed for 1024x768, would I be able to move it slightly to the left for 800x600.

Thank you very much.

tedster

2:54 pm on Aug 16, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It could be done with a combination of JavaScript to sniff for the window size (and I would suggest using that measure rather than screen resolution) and CSS to do the actual moving.