Jump to content

How to add a space between previous and next buttons?


Recommended Posts

This is my code:


<!DOCTYPE html>
<meta name="viewport" content="width=device-width, initial-scale=1">
a {
  text-decoration: none;
  display: inline-block;
  padding: 8px 16px;

a:hover {
  background-color: #ddd;
  color: black;

.previous {
  background-color: DodgerBlue;
  color: black;

.next {
  background-color: DodgerBlue;
  color: black;

.round {
  border-radius: 50%;


<a href="#" class="previous">&laquo; Previous</a>
<a href="#" class="next">Next &raquo;</a>


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...