我有一個報價生成器,我只是試圖在動態文本後面放置背景圖像。這樣,文本看起來就像它在引號內。無論我做什麼,我都無法正確對齊。我知道它是在div中調整css的不同部分,但它不起作用。有沒有不同的方法。對齊背景圖像與動態文本
<style>
#allTogether{
margin-top:60px;
padding-left:-100px;
width:400px;
}
#quote{
margin-top:-40px;
width:380px;
height:100px;
font-size:18px;
}
#bunch{
margin-left:200px;
}
</style>
<div id="bunch">
<div id="allTogether">
<div id="quote" >
<script type="text/javascript" src="https://www.brainyquote.com/link/quotebr.js"></script>
</div>
</bunch>
<br>
<img src="https://www.thesenaseproject.org/wp-content/uploads/2015/10/quotation_marks.png"/>
哈哈我一直在關注你的回答@Michael Coker:D – scoopzilla
@scoopzilla好時光:) –