fix img overflow bug.
This commit is contained in:
parent
5d02d0adc1
commit
348946c363
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue