我看到這個問題已經存在,但我不能將這些答案應用於我的案件,它不適用於我。我試圖在一行中顯示這個圖標,一個挨着一個,但他們總是以列的形式完成。我該如何改變它?我不想使用bootstrap,也不想使用html5,只使用html。圖標顯示在一行而不是列
<div class="row" style="margin:0px; padding: 0px;">
<div class="status-icons-text-color temperature-data-icons">
<div align=c enter data-toggle="tooltip" data-placement="bottom" title="first temperature">
<img src="images/icons/first_temp_icon_outline_white.png" style="max-width:20px;">
<div id="first_temp" style="padding-top: 10px; font-weight: bold;font-size: 12pt;">-- °C</div>
</div>
<div align=c enter data-toggle="tooltip" data-placement="bottom" title="second temperature">
<img src="images/icons/second_temp_icon_white.png" style="max-height:20px;">
<div id="second_temp" style="padding-top: 10px; font-weight: bold; font-size: 12pt;">-- °C</div>
</div>
<div align=c enter data-toggle="tooltip" data-placement="bottom" title="Third temperature">
<img src="images/icons/third_temp_white.png" style="max-height:20px;">
<div id="third_temp" style="padding-top: 10px; font-weight: bold; font-size: 12pt;">-- °C</div>
</div>
</div>
</div>
怎麼樣把他們都在一個行的表? –
怎麼樣?他們在一個div中,我不知道應用哪些更改將它們連續排列在一起 – commandos2389
我回答了一個答案(見下文)。 –