wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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!
 
 
subject: adjusting image size according to the browser
 
Similar Threads
Display IMG from Blob database field ?
how to get image from java to j2me
Images too big
Displaying thumb nail image
JFrame Image