Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

adjusting image size according to the browser

 
sumedha rao
Ranch Hand
Posts: 115
Firefox Browser Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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???
 
Ryan Christiani
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic