<title> Create a chart with a percentage of background images </title>
<style type= "text/css" media= "screen" >
#content Ul.graph
{
margin:0;
padding:0;
List-style-type:none;
}
#content Ul.graph Li
{
Margin-bottom:. 5em;
padding:. 2em;
Background: #600;
Color: #fff;
}
#content ul.graph li.percent20 {background:url (graph20.jpg) repeat-y 20% 0;}
#content ul.graph li.percent40 {background:url (graph40.jpg) repeat-y 40% 0;}
#content ul.graph li.percent60 {background:url (graph60.jpg) repeat-y 60% 0;}
#content ul.graph li.percent80 {background:url (graph80.jpg) repeat-y 80% 0;}
</style>
<body>
<div id= "Content" >
<strong> Create a chart with a percentage of background images </strong>
<ul class= "graph" >
<li class= "percent20" >20%</li>
<li class= "PERCENT40" >40%</li>
<li class= "Percent60" >60%</li>
<li class= "Percent80" >80%</li>
<li class= "percent100" >100%</li>
</ul>
</div>
<div>http://www.999jiujiu.com/</div>
</body>
CSS tile background picture implementation percent chart