CoderNathan Posted December 17, 2020 Share Posted December 17, 2020 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">« Previous</a> <a href="#" class="next">Next »</a> </body> </html> Link to comment Share on other sites More sharing options...
JMRKER Posted December 22, 2020 Share Posted December 22, 2020 Assuming you mean horizontal space (not vertical) add this to the .next CSS information margin-left: 5em; Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now