button in a line

  <style>

.relatedLink {
display:inline-block;
overflow: auto;
white-space: nowrap;
margin:0px auto;
width: 100%;
}

.prevLink{
float:left;
position: absolute;
/* bottom:0; left:0; */
}

.nextLink{
float:right;
}
</style>

<div id=“relatedLink”>
<button type=“submit” class=“prevLink” onClick=“return false;”>Save</button>
<button type=“submit” class=“nextLink” onClick=“return false;”>Publish</button>
</div>

Leave a Comment

Your email address will not be published. Required fields are marked *