TAILIEUCHUNG - Bước 1 Chèn CSS PHP Code: .pagination{ padding: 2px; } .pagination ul{ margin: 0;

Bước 1 Chèn CSS PHP Code: .pagination{ padding: 2px; } .pagination ul{ margin: 0; padding: 0; textalign: left; /*Set to "right" to right align pagination interface*/ font-size: 12px; } .pagination li{ list-style-type: none; display: inline; padding-bottom: 1px; } .pagination a, .pagination a:visited{ padding: 0 5px; border: 1px solid #9aafe5; text-decoration: none; color: #2e6ab1; } .pagination a:hover, .pagination a:active{ border: 1px solid #2b66a5; color: #000; background-color: lightyellow; } .pagination { font-weight: bold; padding: 0 5px; border: 1px solid navy; background-color: #2e6ab1; color: #FFF; } .pagination { padding: 0 5px; border: 1px solid #929292; color: #929292; } .pagination { font-weight: bold; }. | Bước 1 Chèn CSS PHP Code style .pagination padding 2px .pagination ul margin 0 padding 0 text- align left Set to right to right align pagination interface font-size 12px .pagination li list-style-type none display inline padding-bottom 1px .pagination a .pagination a visited padding 0 5px border 1px solid 9aafe5 text-decoration none color 2e6ab1 .pagination a hover .pagination a active border 1px solid 2b66a5 color 000 background-color lightyellow .pagination font-weight bold padding 0 5px border 1px solid navy background-color 2e6ab1 color FFF .pagination padding 0 5px border 1px solid 929292 color 929292 .pagination font-weight bold html .pagination html .pagination IE 6 and below. Adjust non linked LIs slightly to account for bugs margin-right 5px padding-right 0 style Bước 2 Tạo 1 recordset Bước 3 Layout 1 table gồm 2 dòng 1 cột .Dòng đầu kéo thả dữ liệu và lặp Demo Code table width 500 border 0 align center cellpadding 0 cellspacing 0 php do tr td p php echo row Recordset1 TieuDe p p php echo row Recordset1 TomTat p td tr php while row Recordsetl mysql fetch assoc Recordset1 tr td td tr table Click this bar to view the small image. Click this bar to view the small image. Code sau khi chèn xong Code div class pagination ul php for i 0 i totalPages Recordsetl i TFM PagesEndCount i 1 if i pageNum Recordsetl printf a href . s pageNum Recordset1 d s currentPage i queryString Recordset1. . TFM PagesEndCount. a else echo li TFM PagesEndCount li if i totalPages Recordsetl echo ul div F12 Xem thử kết quả Click this bar to view the small image. uc id rail L dll w illVL VJLHJ LL Uld Lili VLliJ được một chữ trong trái tim của người đõ. De khác nhưng Ịỹlĩỏ là khi nhận ra sai làm cúa ch .

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.