我有這個頁面:http://www.problemio.com其上有3對圖像進行POST /討論/解,併爲他們的HTML看起來像這樣:3個相同大小的圖像具有相同的造型 - 一個看起來略有不同大小
<div style="float: left; width: 70px; padding-left: 10px; padding-top: 10px;">
<img width="60px" height="60px" src="http://www.problemio.com/img/ui/postbutton.png" style="border: none;" alt="Problemio" />
</div>
<div style="float: left; padding-left: 5px; padding-top: 5px;">
<h2>POST</h2>
<span style="color: gray;">problems</span>
</div>
<div style="float: left; width: 70px; padding-left: 50px; padding-top: 10px;">
<img width="60px" height="60px" src="http://www.problemio.com/img/ui/discussbutton.png" style="border: none;" alt="Problemio" />
</div>
<div style="float: left; padding-left: 5px; padding-top: 5px;">
<h2>DISCUSS</h2>
<span style="color: gray;">brainstorm ideas<br /> with others</span>
</div>
<div style="float: left; width: 70px; padding-left: 50px; padding-top: 10px;">
<img width="60px" height="60px" src="http://www.problemio.com/img/ui/createbutton.png" style="border: none;" alt="Problemio" />
</div>
<div style="float: left; padding-left: 5px; padding-top: 5px;">
<h2>SOLVE</h2>
<span style="color: gray;">create new<br />
solutions</span>
</div>
<div style="clear:both;"></div>
但第三張圖像看起來有些拉長。任何想法爲什麼會發生?造型對於圖像是相同的。
謝謝!
另請注意:在不同標籤中打開3張圖像並在它們之間切換。你會看到每個圖像中圓的中心是不同的。 – schnaader
@schnaader沒有注意到。記住如果我編輯它? –
沒問題,我所有的評論都是根據WTFPL授權的;) – schnaader