临睡前把max-width: 100%;height:auto;
。比如
.entry-content img, .comment-content img, .widget img, img.header-image, .author-avatar img, img.wp-post-image{
max-width: 100%;
height:auto;
}
不过据说max-width
,回头有
HERMIT COTTAGE
临睡前把max-width: 100%;height:auto;
。比如
.entry-content img, .comment-content img, .widget img, img.header-image, .author-avatar img, img.wp-post-image{
max-width: 100%;
height:auto;
}
不过据说max-width
,回头有
Bigman
兼容各种浏览器真是不容易 IE6
十一年前 Firefox 30 · Windows 7不是号称国内还有很多用户还是
S
@Bigman 嗯 IE6 用户只能任其自生自灭了……
十一年前 Opera 22 · Windows 7Betty
那你手机看我模板还自适应吗?
十一年前 Google Chrome 26 · Windows XPS
@Betty 适应的。
十一年前 Opera 22 · Windows 7大肥羊
自适应体验挺好的。
十一年前 Firefox 30 · Windows 7S
@ 大肥羊 嗯,希望大家都能用上。 
十一年前 Opera 22 · Windows 7Ryu
新主题很喜欢!
十一年前 Firefox 30 · Windows XPS
@Ryu 嗯,花了半个晚上没白费
十一年前 Opera 22 · Windows 7章鱼哥
但是你这个有个问题,图片不能等比例缩放,图片会变形。
十一年前 Google Chrome 31 · Windows 7S
@ 章鱼哥
十一年前 Chromium 37 · Ubuntu.wp-caption img {
display: block;
margin: -2px 0 0 -2px;
max-width: 98%;
height:auto;
}