这是小提琴 http://jsfiddle.net/NtMNE/
我想重复下面的代码块,只有在第二个块的右侧有图像。以为这很简单,但有热路障......
<div class="wrap">
<div id="block1"
<p><img src="img/cheese1.jpg" alt="Cheese Picture" id="intro_pic" ></p>
<h2 id="intro">
The best selection of cheese I've ever seen! Cannot wait for our next order!
</h2>
</div>
<div id="block2"
<p><img src="img/cheese1.jpg" alt="Cheese Picture" id="intro_pic2" ></p>
<h2 id="intro2">
The best selection of cheese I've ever seen! Cannot wait for our next order!
</h2>
</div>