當我們插入圖片到博客發佈後,它會自動插入一個分隔符'text-align:center;'。我想刪除它(並將其設置爲左側而不是中心)。但很難在每篇文章中爲每張圖片手動刪除它。有沒有簡單的方法來自動做到這一點?如何刪除博主後分隔符的「文本對齊:中心;」?
我試過.post-body img {float:left;}模板CSS。這會將圖像留下,但文本會流向圖像的右側而不是圖像下方。請幫助我做到這一點。
編輯:下面是圖像被添加到博客帖子後自動包圍的普通div。下面是帖子的文字。
<div class="separator" style="clear: both; text-align: center;">
<a href="-----.html"; imageanchor="1" style="margin-left: 0em; margin-right: 1em;">
<img alt="" border="0" src="1.bp.blogspot.com/1.JPG"; title="" />
</a></div>
<br/>
<span style="font-size: large;">text paragraph texts texts</span><br />
你可以嘗試像'.separator { text-align:left!important;}' –