Next page, Previous page Button CSS without any plugin
Next page, Previous page Button CSS without any plugin
In this tutorial, we will try to learn how to set the Next and Previous Page Button CSS without any Plugin.
HTML code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
<table> <tbody class="next_previous_button"> <tr> <td class="next_td"> <a title="" href="https://t4tutorials.com/what-kind-of-domain-name-helps-in-seo/" target="_blank" rel="noopener"> <button class="next_button"> <b>Next Page</b> </button></a> </td> <td class="next_td"> <a title="" href="https://t4tutorials.com/what-kind-of-domain-name-helps-in-seo/" target="_blank" rel="noopener"> <button class="previous_button"> <b>Previous Page<b></b></b></button></a></td> </tr> </tbody> </table> |
CSS code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
.next_td { border: 0px; } button.next_button { background-color: #e0e0e0; border: none; color: black; padding: 10px 20px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 2px 2px; cursor: pointer; float: left; width:180px; border: 0px; } button.next_button:hover { background-color:green; border: none; color:white; padding: 10px 20px; text-align: center; text-decoration: none
; display: inline-block; font-size: 16px; margin: 2px 2px; cursor: pointer; float: left; width:180px; border: 0px; } button.previous_button { background-color: #e0e0e0; border: none; color: black; padding: 10px 20px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 2px 2px; cursor: pointer; float: right; width:180px; border: 0px; } button.previous_button:hover { background-color:green; border: none; color: white; padding: 10px 20px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 2px 2px; cursor: pointer; float: right; width:180px; border: 0px; } |
Display of Next, Previous Page Button