Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

image resize css

#myDiv
{
  height: 104px;
  width: 140px;
}
#myDiv img
{
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  display: block;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #image #resize #css
ADD COMMENT
Topic
Name
6+6 =