I am currently working on designing a menu for my webpage that includes four buttons. My goal is to have two buttons displayed at the top of the page and two buttons displayed at the bottom. To achieve this, I have written the following CSS code:
.navButton {
padding: 3%;
float:right;
background:#C0C0C0;
margin-left:1%;
margin-right:1%;
}
I attempted to use
tags to position the second pair of buttons below the first pair, but this caused some layout issues on the left side of the page. Can someone help me figure out how to evenly distribute four equally sized buttons in the top right corner of the page? Currently, due to variations in text sizes, the buttons are slightly different in size and I would like them to be exactly equal.
Any suggestions would be greatly appreciated! Thank you!