File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Background image is not in proper way for different resolution
 
Similar Threads
How to create image from array of pixels?
Resolution Problem for Background images
Image file splitting
Background image in different resolution
Search within image for static portion