Jump to content

How to add a space between previous and next buttons?


CoderNathan
 Share

Recommended Posts

This is my code:

 

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
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%;
}


</style>
</head>
<body>


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

  
</body>
</html>

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
 Share

×
×
  • Create New...