2012-09-02 35 views

回答

2

似乎max-wdth:99.35%規則是這樣做的。嘗試將width:auto添加到設置分數最大寬度的相同規則中。

換句話說,變革:

#masthead img, #featured-content img, #recent-content img, .entry-content img, .entry-thumb img, .comment-content img, .widget img { 
    background: #fff; 
    border: 1px solid #bbb; 
    max-width: 99.35%; 
/* Fluid images for posts, comments, and widgets */ 
    padding: 1px; 
} 

#masthead img, #featured-content img, #recent-content img, .entry-content img, .entry-thumb img, .comment-content img, .widget img { 
    background: #fff; 
    border: 1px solid #bbb; 
    max-width: 99.35%; 
    width:auto; 
/* Fluid images for posts, comments, and widgets */ 
    padding: 1px; 
} 
+1

那麼到底它是如此簡單。我還想着要複雜得多的問題與浮動。謝謝@ j08691 –

相關問題