Css paging style

Source: Internet
Author: User

<! Doctype html public "-// w3c // dtd xhtml 1.0 transitional // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<Html xmlns = "http://www.w3.org/1999/xhtml">
<Head>
<Meta http-equiv = "content-type" content = "text/html; charset = utf-8"/>
<Title> css tutorial paging style </title>
<Style type = "text/css">
Body {font-size: 12px; font-family: verdana, arial, helvetica, sans-serif ;}
. Title {width: 420px; margin: 20px auto; text-align: center ;}
. Page {padding: 3px; margin: 3px auto; width: 420px; text-align: center}
. Page a {border: # aaaadd 1px solid; padding: 2px 5px; margin: 2px; color: #000099; padding-top: 2px; text-decoration: none}
. Page a: hover {border: #000099 1px solid; background: #009; color: # fff ;}
. Page a: active {border: #009 1px solid; color: #000 ;}
. Page span. current {border: #009 1px solid; padding: 2px 5px; font-weight: bold; margin: 2px; color: # fff; background-color: #000099}
. Page span. disabled {border: # eee 1px solid; padding: 2px 5px; margin: 2px; color: # ddd ;}
</Style>


<Body>
<Div class = "title">
<A href = "http://www.111cn.net/"> www.111cn.net </a>
</Div>

<Div class = "page">
<Span class = "disabled"> </span>
<Span class = "current"> 1 </span>
<A href = "http://www.111cn.net"> 2 </a>
<A href = "http://www.111cn.net"> 3 </a>
<A href = "http://www.111cn.net"> 4 </a>
<A href = "http://www.111cn.net"> 5 </a>
<A href = "http://www.111cn.net"> 6 </a>
<A href = "http://www.111cn.net"> 7 </a>
...
<A href = "http://www.111cn.net"> 199 </a>
<A href = "http://www.111cn.net"> 200 </a>
<A href = "http://www.111cn.net"> </a>
</Div>


</Body>


</Html>

Source code download
Http://down.111cn.net/down/code/js/2010/0927/20957.html
Effect preview address
Webpage effects/code/20100927/csspage "> http://g.111cn.net/javascript/code/20100927/csspage

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.