You can easily solve this problem by using this selector. Record it here.
Below is the main Code
JS script:
Copy code The Code is as follows: <SCRIPT type = "text/JavaScript">
$ (Document). Ready (
Function (){
// Add a style to Li every five lines
$ ('. Article_li Li: Nth-child (5N)'). addclass ('liborder ');
$ ('. Article_li Li: la'). addclass ('liborder ');
}
);
</SCRIPT>
HTML code: Copy code The Code is as follows: <ul class = "article_li">
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: no pilot Property Tax in Changsha: no pilot in Changsha </a>
</LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
<Li>
<Label class = "datename">
<Span> 08:37:59 </span>
</Label>
<A href = "/A/xinwenzixun/caishuidongtai/20100612/2323 .html"> Property Tax: Changsha is not piloted yet </a> </LI>
</Ul>
The specific usage will not be written here. For details, refer
Http://www.jb51.net/css/28294.html
Http://www.jb51.net/article/23617.htm
As follows: