This week's book giveaway is in the JavaScript forum.
We're giving away four copies of JavaScript Promises Essentials and have Rami Sarieddine on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes adjusting image size according to the browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "adjusting image size according to the browser" Watch "adjusting image size according to the browser" New topic
Author

adjusting image size according to the browser

sumedha rao
Ranch Hand

Joined: Nov 26, 2010
Posts: 115

Hello Ranchers,is there a way in html where i can write some code to adjust the background image size according to the browser in which it is viewed???


scjp1.6,scwcd1.5!!!
Ryan Christiani
Ranch Hand

Joined: May 15, 2011
Posts: 30
Look into Media Queries try this article you can set specific rules for specific screen sizes, i don't know to much on the subject, but that seems to be were you want to get to.


Probably going to ask a lot of possibly stupid questions...but how else will I learn? am I right!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: adjusting image size according to the browser