每天都拖…加了个小小的span,单的style应用还不熟练…
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>x飞的“首”页</title>
<style>
#header{
height:120px;
background:pink;
}
#container {
width: 1300px;
background: grey;
}
#main{
height:450px;
background:green;
}
#footer{
height:150px;
background:yellow;
}
#lside {
float:left;
height:440px;
width:1000px;
background:red;
}
.four {
float: left;
height: 120px;
width: 400px;
background: white;
padding: 30px;
border: 10px dashed orange;
margin: 10px;
}
#lside1{
height:120px;
clear:both;
width:1002px;
background:black;
}
#rside {
float: right;
height: 450px;
width: 200px;
background: blue;
/*这是解释*/
}
</style>
</head>
<body>
<div id="container">
<div id="header">标题行</div>
<div id="main">
<div id="lside">
<div class="four">随便说一点?现在在看《梦想的声音》张小七,是个会计,舞台效果超好玩,但是作为同行,觉得她这是<span style="color:mediumpurple;"><b>职业病</b></span>?哈哈哈哈</div><!--one -->
<div class="four">有时候,有时候,<br />虽然学会了一个个标签,但是<br />如果没有目标,写完就不知道应该调试成什么样,算正确。</div><!--two -->
<div class="four"></div><!--three -->
<div class="four"></div><!--four -->
</div>
<div id="rside"></div>
</div>
<div id="footer"></div>
</div>
</body>
</html>