A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Background image is not in proper way for different resolution
Dipesh Kumar Kumar
Joined: Jun 06, 2012
Jul 26, 2012 01:05:01
I have a background image in body.
What i want to achive is that
1)- calculate the visitor screen resolution.
2)- based on that resolution i want to resize my background image.
Can anyone help?
Joined: Nov 08, 2001
Jul 30, 2012 10:49:53
CSS3 media queries are what you are after.
It is sorta covered in the
JavaRanch Style Guide
subject: Background image is not in proper way for different resolution
Search within image for static portion
Resolution Problem for Background images
Image file splitting
Background image in different resolution
How to create image from array of pixels?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014