Answers for "html 3 buttons on same line"

0

html 3 buttons on same line

CSS 

#outer
{
    width:100%;
    text-align: center;
}
.inner
{
    display: inline-block;
}

HTML

<div id="outer">
        <div class="inner"><button type="submit" class="msgBtn" onClick="return false;">Save</button></div>
        <div class="inner"><button type="submit" class="msgBtn2" onClick="return false;">Publish</button></div>
        <div class="inner"><button class="msgBtnBack">Back</button></div>
    </div>
Posted by: Guest on July-31-2021

Browse Popular Code Answers by Language