I currently have a button on my webpage labeled "Learn More."
Unfortunately, the text on the button is not lining up as it should. Instead of flowing in a line, the text seems to be stacking on top of each other.
The HTML code for the button is included below:
I am providing the entire row where the button is located, but the specific code related to the button in question is highlighted. Both snippets of code are within a single Bootstrap row.
<div class="row"> <!--bottom row-->
<div class="leftbutton col-md-2 col-md-offset-1">
<a id="helpbutton" href="mailto:<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="2f5c40424a40414a6f4a574e425f434a014c4042">[email protected]</a>?Subject=Help"><button>Help</button></a>
</div>
Below is the code specifically for the button causing the issue:
<div class="rightbutton col-md-5 col-md-offset-5">
<button>Learn More</button>
</div>
</div> <!--end bottom row-->
Here is the CSS code for styling the button:
.rightbutton button{
font-size: 20px;
color: #1c94c4;
padding-left: 40%;
padding-right: 40%;
}
I am puzzled as to why this is happening. Initially, I thought it could be the font, but that doesn't seem to be the issue. Your help in troubleshooting this problem would be greatly appreciated.
Thank you in advance for your assistance.