htmlコードは次のとおりです。
<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>
- テキストの位置を画像の下ではなく右に変更するにはどうすればよいですか?
- 上記の質問に答えた後、画像は互いの上に積み重ねられるので、どうすれば画像を特定のマージンだけ離すことができますか?
- これがすべて完了したら、ブラウザウィンドウのサイズを変更したときに、各画像とそれに対応するテキストを元の位置に対して移動するにはどうすればよいですか?