I'm working on a project in which a button and a link (styled to be indistinguisahable from each other) need to line up in a row. For some reason, my "Logout" button does not line up with my "Send" button. After a bit of experimentation, I've found that changing the "overflow" property seems to negate this effect a little bit. But I still haven't gotten it to work 100%. Can anyone give me any pointers for what's going on?
.send-or-logout {
text-align: center;
background-color: #fa913c;
}
.blue-button, .red-button {
border: none;
margin: 10px;
width: 200px;
height: 50px;
overflow: auto;
white-space: nowrap;
text-overflow: ellipsis;
overflow-wrap: break-word;
font-size: 25px;
text-transform: uppercase;
color: #fafafa;
border: 0;
text-align: center;
}
.blue-button {
background-color:#273557;
display: inline-block;
}
.red-button {
background-color: #f4440e;
display: inline-block;
}
<div class="container">
<div class="row">
<div class="col send-or-logout">
<input class="blue-button"type="submit" name="submit" value="SEND" /><a
href="./logout" class="red-button logout-button">LOGOUT</a>
</div>
</div>