老师帮我检查一下,还有什么地方需要改进的吗?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS布局</title>
<style type="text/css">
*{margin: 0;padding: 0;}
.container{width: 1000px;margin: 0 auto;}
.content{width: 1000px;margin-left: 130px;}
h3{text-align: center;
padding-top: 20px;}
.container .com{float: left;
padding:10px;
}
.container .com img{
width: 350px;
}
.hanzi{font-size: 15px;
font-weight: bold;}
</style>
</head>
<body>
<div class="container">
<h3>ENJOY THE LIFE</h3>
<div class="content">
<div class="com">
<div>
<img src="http://img1.sycdn.imooc.com/climg//58f829090001a4b504260240.jpg">
</div>
<div class="hanzi">Life is like a book, just read more and more <br/>refined, more write more carefully. when read,<br/>
mind open, all things have been indifferent to<br/>heart. Life is the precipitation.</div>
</div>
<div class="com">
<div>
<img src="http://img1.sycdn.imooc.com/climg//58f8290f0001558804260240.jpg">
</div>
<div class="hanzi">Life is like a cup of tea, let people lead a <br/>person to endless aftertastes. You again good<br/>
taste, it will always have a different taste, <br/>different people will have different taste <br/>more.</div>
</div>
</div>
</div>
</body>
</html>
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星