如果你看看病源代码,你就会看到,这部法律是的,非常容易。 改变这一部分:
<!-- first row -->
<div class="item">
<!-- image -->
<img src="http://farm1.static.flickr.com/_m.jpg" />
<!-- title -->
<h3>1. Barcelona Pavilion</h3>
<!-- content -->
<p>
The Pavilion was not only a pioneer ...
</p>
</div>
<!-- 2:nd and 3:rd rows -->
<div class="item"> ... </div>
<div class="item"> ... </div>
</div>
<!-- second element with another three rows (and so on) -->
<div>
...
</div>
为此:
<!-- first row -->
<div class="item">
<!-- image -->
<img src="http://farm1.static.flickr.com/_m.jpg" />
<!-- title -->
<h3>1. Barcelona Pavilion</h3>
<!-- content -->
<p>
The Pavilion was not only a pioneer ...
</p>
</div>
<!-- 2:nd row -->
<div class="item"> ... </div>
</div>
<!-- second element with another two rows (and so on) -->
<div>
...
</div>
大部分修改都是超文本评论。 你们都需要做的是每组项目的<代码>和>;div类别=“项目”和“项目”;......</div>。