HTML & CSS
[css]이미지 리사이징, 화면(영역)보다 이미지가 클 때
yeon.Biju
2016. 12. 11. 20:14
<style type="text/css">
.post-view-content p img {
max-width: 100% ;
width: expression(this.width > 800 ? 800: true) ;
height: auto ;
}
</style>
원하는 화면보다 이미지가 넘치는 경우 사용