aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Background image is not in proper way for different resolution Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Background image is not in proper way for different resolution" Watch "Background image is not in proper way for different resolution" New topic
Author

Background image is not in proper way for different resolution

Dipesh Kumar Kumar
Greenhorn

Joined: Jun 06, 2012
Posts: 3
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?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
CSS3 media queries are what you are after.

Eric
 
wood burning stoves
 
subject: Background image is not in proper way for different resolution