File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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.
I agree. Here's the link:
subject: Background image is not in proper way for different resolution
Resolution Problem for Background images
How to create image from array of pixels?
Search within image for static portion
Image file splitting
Background image in different resolution
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013