fix img overflow bug.

exceptionHandle
yanxd 12 years ago
parent 5d02d0adc1
commit 348946c363

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

Loading…
Cancel
Save