In the process of developing a website some time ago, I suddenly felt that this simple style was really different from the overall style of the website, so I looked at the final HTML generated by aspnetpager, write a CSS style to unify the paging style and the overall website style.
The effect is as follows:
It is not very nice. I hope you will not lose bricks. It will not hurt your head ~ -_-~
CSS style sheet:
/* Aspnetpager style power by http://www.edweb.cn */
. Pager {width: 95%; margin: 10px; line-Height: 20px; display: block ;}
. Pager span {border: 1px solid # cccccc; margin: 0 5px; padding: 1px 6px; float: Left ;}
. Pager {
Border: 1px solid # cccccc;
Display: block;
Overflow: hidden;
Float: left;
Margin: 0 5px;
Padding: 1px 6px;
}
. Pager A: hover {border: 1 solid red; Background-color: #993399; color: # ffffff; margin: 0 5px; padding: 1px 6px ;}
Call method: Add a div package outside the paging control to directly call