fix img overflow bug.

This commit is contained in:
yanxd 2013-11-27 10:34:41 +08:00
parent 5d02d0adc1
commit 348946c363
1 changed files with 2 additions and 7 deletions

View File

@ -58,18 +58,13 @@
}
.comments img {
overflow:hidden;
width: 100%;
/*width: 100%;*/
max-width: 500px;
height: auto;
height: auto !important;
width:expression(this.width > 500 ? "500px" : this.width+"px");
}
</style>
<script>
$(document).ready(function($) {
var img = $("div > img").css("height", 'auto')
});
</script>
<!-- < %= forum_breadcrum%> -->
<div class="lz">
<div class="lz-left">