to fix some details on the bootstrap pagination styles, you must add the following lines in the view of your application.
Yii::app()->getClientScript()->registerCss(
'bootstrapFix',
'
.pagination a {
border-width: 1px;
}
.pagination li.hidden {
display: none;
visibility: hidden;
}
');