0
下面是HTML代碼:在HTML/CSS中定位?
<div id="slider" class="images">
<img src="img/image1.png" height=200 width=200>
<p>Image1 corresponding text here</p>
<img src="img/image2.png" height=200 width=200>
<p>Image2 corresponding text here</p>
<img src="img/image3.png" height=200 width=200>
<p>Image3 corresponding text here</p>
<div class="switch_image">
<a href="#" id="prev">Prev</a>
<a href="#" id="next">Next</a>
- 我怎樣才能改變文本的位置是在圖像的右側並沒有下文了嗎?
- 回答完上述問題後,圖像會堆疊在一起,因此如何將圖像間隔一定距離?
- 一旦完成所有這些工作,當我重新調整瀏覽器窗口的大小時,如何獲取每個圖像以及相應的文本是否相對於原始位置移動?
我怎樣才能使文字不會進入下一行,但繼續向右? (非常感謝btw的幫助!:D) – OpMt 2013-05-06 12:14:21
不用擔心!我不完全確定你的意思。我想你可能只是增加圖像包裝的寬度?例如:http://jsbin.com/alobiw/4/edit – Adaz 2013-05-06 21:10:55