Css code of pages

Source: Internet
Author: User
The code is as follows: Copy code

<! 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>
<Title> 24 practical css code for paging pages </title>
<Style type = "text/css">
<! --
/* Public */
BODY {
FONT-SIZE: 12px; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; WIDTH: 60%; PADDING-LEFT: 25px;
}
/* CSS Digg style pagination */
DIV. digg {
PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; MARGIN: 3px; PADDING-TOP: 3px; TEXT-ALIGN: center
}
DIV. digg {
BORDER-RIGHT: # aaaadd 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: # aaaadd 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 2px; MARGIN: 2px; BORDER-LEFT: # aaaadd 1px solid; COLOR: #000099; PADDING-TOP: 2px; BORDER-BOTTOM: # aaaadd 1px solid; TEXT-DECORATION: none
}
DIV. digg A: hover {
BORDER-RIGHT: #000099 1px solid; BORDER-TOP: #000099 1px solid; BORDER-LEFT: #000099 1px solid; COLOR: #000; BORDER-BOTTOM: #000099 1px solid
}
DIV. digg A: active {
BORDER-RIGHT: #000099 1px solid; BORDER-TOP: #000099 1px solid; BORDER-LEFT: #000099 1px solid; COLOR: #000; BORDER-BOTTOM: #000099 1px solid
}
DIV. digg SPAN. current {
BORDER-RIGHT: #000099 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #000099 1px solid; PADDING-LEFT: 5px; FONT-WEIGHT: bold; PADDING-BOTTOM: 2px; MARGIN: 2px; BORDER-LEFT: #000099 1px solid; COLOR: # fff; PADDING-TOP: 2px; BORDER-BOTTOM: #000099 1px solid; BACKGROUND-COLOR: #000099
}
DIV. digg SPAN. disabled {
BORDER-RIGHT: # eee 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: # eee 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 2px; MARGIN: 2px; BORDER-LEFT: # eee 1px solid; COLOR: # ddd; PADDING-TOP: 2px; BORDER-BOTTOM: # eee 1px solid
}
/* CSS yahoo style pagination */
DIV. yahoo {
PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; MARGIN: 3px; PADDING-TOP: 3px; TEXT-ALIGN: center
}
DIV. yahoo {
BORDER-RIGHT: # fff 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: # fff 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 2px; MARGIN: 2px; BORDER-LEFT: # fff 1px solid; COLOR: #000099; PADDING-TOP: 2px; BORDER-BOTTOM: # fff 1px solid; TEXT-DECORATION: underline
}
DIV. yahoo A: hover {
BORDER-RIGHT: #000099 1px solid; BORDER-TOP: #000099 1px solid; BORDER-LEFT: #000099 1px solid; COLOR: #000; BORDER-BOTTOM: #000099 1px solid
}
DIV. yahoo A: active {
BORDER-RIGHT: #000099 1px solid; BORDER-TOP: #000099 1px solid; BORDER-LEFT: #000099 1px solid; COLOR: # f00; BORDER-BOTTOM: #000099 1px solid
}
DIV. yahoo SPAN. current {
BORDER-RIGHT: # fff 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: # fff 1px solid; PADDING-LEFT: 5px; FONT-WEIGHT: bold; PADDING-BOTTOM: 2px; MARGIN: 2px; BORDER-LEFT: # fff 1px solid; COLOR: #000; PADDING-TOP: 2px; BORDER-BOTTOM: # fff 1px solid; BACKGROUND-COLOR: # fff
}
DIV. yahoo SPAN. disabled {
BORDER-RIGHT: # eee 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: # eee 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 2px; MARGIN: 2px; BORDER-LEFT: # eee 1px solid; COLOR: # ddd; PADDING-TOP: 2px; BORDER-BOTTOM: # eee 1px solid
}
/* CSS meneame style pagination */
DIV. meneame {
PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-SIZE: 80%; PADDING-BOTTOM: 3px; MARGIN: 3px; COLOR: # ff6500; PADDING-TOP: 3px; TEXT-ALIGN: center
}
DIV. meneame {
BORDER-RIGHT: # ff9600 1px solid; PADDING-RIGHT: 7px; BACKGROUND-POSITION: 50% bottom; BORDER-TOP: # ff9600 1px solid; PADDING-LEFT: 7px; BACKGROUND-IMAGE: url(meneame.jpg); PADDING-BOTTOM: 5px; BORDER-LEFT: # ff9600 1px solid; COLOR: # ff6500; MARGIN-RIGHT: 3px; PADDING-TOP: 5px; BORDER-BOTTOM: # ff9600 1px solid; TEXT-DECORATION: none
}
DIV. meneame A: hover {
BORDER-RIGHT: # ff9600 1px solid; BORDER-TOP: # ff9600 1px solid; BACKGROUND-IMAGE: none; BORDER-LEFT: # ff9600 1px solid; COLOR: # ff6500; BORDER-BOTTOM: # ff9600 1px solid; BACKGROUND-COLOR: # ffc794
}
DIV. meneame A: active {
BORDER-RIGHT: # ff9600 1px solid; BORDER-TOP: # ff9600 1px solid; BACKGROUND-IMAGE: none; BORDER-LEFT: # ff9600 1px solid; COLOR: # ff6500; BORDER-BOTTOM: # ff9600 1px solid; BACKGROUND-COLOR: # ffc794
}
DIV. meneame SPAN. current {
BORDER-RIGHT: # ff6500 1px solid; PADDING-RIGHT: 7px; BORDER-TOP: # ff6500 1px solid; PADDING-LEFT: 7px; FONT-WEIGHT: bold; PADDING-BOTTOM: 5px; BORDER-LEFT: # ff6500 1px solid; COLOR: # ff6500; MARGIN-RIGHT: 3px; PADDING-TOP: 5px; BORDER-BOTTOM: # ff6500 1px solid; BACKGROUND-COLOR: # ffbe94
}
DIV. meneame SPAN. disabled {
BORDER-RIGHT: # ffe3c6 1px solid; PADDING-RIGHT: 7px; BORDER-TOP: # ffe3c6 1px solid; PADDING-LEFT: 7px; PADDING-BOTTOM: 5px; BORDER-LEFT: # ffe3c6 1px solid; COLOR: # ffe3c6; MARGIN-RIGHT: 3px; PADDING-TOP: 5px; BORDER-BOTTOM: # ffe3c6 1px solid
}
-->
</Style>
</Head>
<Body>
<P> <a href = "http://www.111cn.net"> Digg </a> Style
<Div class = "digg"> <span class = "disabled"> </span> <span class = "current"> 1 </span> <a href = "#? Page = 2 "> 2 </a> <a href = "#? Page = 3 "> 3 </a> <a href = "#? Page = 4 "> 4 </a> <a href = "#? Page = 5 "> 5 </a> <a href = "#? Page = 6 "> 6 </a> <a href = "#? Page = 7 "> 7 </a>... <a href = "#? Page = 199 "> 199 </a> <a href = "#? Page = 200 "> 200 </a> <a href = "#? Page = 2 ">></a> </div> </p>
<P> <a href = "http://www.yahoo.com"> Yahoo </a> Style
<Div class = "yahoo"> <span class = "disabled"> </span> <span class = "current"> 1 </span> <a href = "#? Page = 2 "> 2 </a> <a href = "#? Page = 3 "> 3 </a> <a href = "#? Page = 4 "> 4 </a> <a href = "#? Page = 5 "> 5 </a> <a href = "#? Page = 6 "> 6 </a> <a href = "#? Page = 7 "> 7 </a>... <a href = "#? Page = 199 "> 199 </a> <a href = "#? Page = 200 "> 200 </a> <a href = "#? Page = 2 ">></a> </div> </p>
<P> <a href = "http://www.yahoo.com"> New Yahoo! </A> Style
<Div class = "yahoo2"> <span class = "disabled"> & lt; prev </span> <span class = "current"> 1 </span> <a href = "#? Page = 2 "> 2 </a> <a href = "#? Page = 3 "> 3 </a> <a href = "#? Page = 4 "> 4 </a> <a href = "#? Page = 5 "> 5 </a> <a href = "#? Page = 6 "> 6 </a> <a href = "#? Page = 7 "> 7 </a>... <a href = "#? Page = 199 "> 199 </a> <a href = "#? Page = 200 "> 200 </a> <a href = "#? Page = 2 "> Next & gt; </a> </div> </p>
</Body>
</Html>
 

Related Article

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.