Create a list paging control - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Nav Bar

Description

Create a list paging control

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
#page-idx ul li {
   display:block;
   float:left;
}

#page-idx ul li a {
   padding:4px;
   text-decoration:none;<!--  w  ww.  jav  a2 s.c  om-->
}

#page-idx ul li a:hover {
   text-decoration:underline;
}
</style> 
 </head> 
 <body> 
  <div id="page-idx"> 
   <ul> 
    <li> <a href="#">1</a> </li> 
    <li> <a href="#">2</a> </li> 
   </ul> 
  </div>  
 </body>
</html>

Related Tutorials