make img tag take all div space

57

/*just add  display:block; OR   vertical-align:bottom; */
/* see the source for details!*/
div {width: 100px;}
img {
  width: 100px;
  height: auto;
  display:block;
  /*OR*/
  vertical-align:bottom;
}

Comments

Submit
0 Comments