Exercises:
The code is as follows:
<! DOCTYPE html>
<meta charset= "UTF-8" >
<title></title>
<link rel= "stylesheet" type= "Text/css" href= "Css/reset.css"/>
<style type= "Text/css" >
. cont{width:1200px; margin:0px Auto;}
H1{text-align:center; font-size:50px; font-weight:normal;margin:0px;}
. yyfb{font-size:28px;}
Li{background:url ("Img/hbuilder.png") no-repeat 20px 40px; padding-top:40px; padding-left:140px;
border-right:1px solid #ddd;
border-bottom:1px solid #ddd;
width:455px;
height:200px;
}
p{width:360px; color: #818181; font-size:18px;}
h3{Font-weight:normal;}
Ul{float:left;}
. Clear{clear:both;}
. Yyfb2{background:url ("Img/hbuilder.png") no-repeat 20px 40px; border-right:none;} /* (picture can be changed here) */
. Yyfb3{background:url ("Img/hbuilder.png") no-repeat 20px 40px; border-right:none;}
</style>
<body>
<br/>
<br/>
<br/>
<div class= "cont" >
<ul>
<li>
<p> legalization of the resumption of the words to meet the red floating after the fire alarm room open room funds of the room open room look at each other can click Payment </p>
</li>
<li>
<p> legalization of the resumption of the words to meet the red floating after the fire alarm room open room funds of the room open room look at each other can click Payment </p>
</li>
</ul>
<ul>
<li class= "YYFB2" >
<p> legalization of the resumption of the words to meet the red floating after the fire alarm room open room funds of the room open room look at each other can click Payment </p>
</li>
<li class= "YYFB3" >
<p> legalization of the resumption of the words to meet the red floating after the fire alarm room open room funds of the room open room look at each other can click Payment </p>
</li>
</ul>
<div class= "Clear" ></div>
</div>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
</body>
Shown below:
Box model exercises (important)