상세 컨텐츠

본문 제목

css로 이미지 리사이즈하기

CSS

by 김일국 2010. 10. 4. 16:34

본문

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<style>
.entry img { max-width:410px; width: expression(this.width > 410 ? 410px: true); }
</style>
<body>
<div class="entry">
<img src="a.jpg" />

</div>

a.jpg

 

a.jpg
0.1MB

관련글 더보기

댓글 영역