css & lu li




<style type="text/css">
<!--  for jQuery
.li_bg1 { background:#6495ed; }
.li_bg2 { background:#b0c4de; }
.li_color1{ color: #fff;background:#6495ed;}
li:hover{
    background:rgb(180,70,120) center no-repeat;
}
-->
<!--
#menu ul{list-style:none;margin:0px;}
#menu ul li{float:left} //Let all "li" to be at a line.
li {list-style-type:square;}
    // :none/disc/circle/square/demical/lower-alpha/uper-alpha/lower-roman/upper-roman
li {list-style-image:url(images/star.png);}// none/url();
li {list-style-position:outside;}//inside/outside
li {li-style:disc url(img/a.gif) inside;} //list-style-type/list-style-image/list-style-position
-->

</style>

<script type="text/javascript">
          //$("#list1 li:even").addClass("li_bg1");
          //$("#list1 li:odd").addClass("li_bg1");
          $("#list1 li").addClass("li_color1");
</script>
<div id="menu">
        <ul id="list1">
        <li id="Depar00" value="0">1.</li>
        <li id="Depar01" value="1">2.- </li>
        <li id="Depar02" value="2">3.- </li>
        <li id="Depar03" value="3">4.- </li>
        <li id="Depar04" value="4">5.- </li>
        <li id="Depar05" value="5">6.</li>
        <li id="Depar06" value="6">7.</li>
        <li id="Depar07" value="7">8.</li>
        <li id="Depar08" value="8">9.- </li>
        <li id="Depar09" value="9">10.- </li><!--  -->
        <li id="Depar10" value="10">11.:</li>
        </ul>
</div>

评论

此博客中的热门博文

XML, XSL, HTML

Input in element.eleme.io

Data URI是由RFC 2397 ACE