html 3 buttons on same line

Solutions on MaxInterview for html 3 buttons on same line by the best coders in the world

showing results for - "html 3 buttons on same line"
Oscar
08 Jan 2018
1CSS 
2
3#outer
4{
5    width:100%;
6    text-align: center;
7}
8.inner
9{
10    display: inline-block;
11}
12
13HTML
14
15<div id="outer">
16        <div class="inner"><button type="submit" class="msgBtn" onClick="return false;">Save</button></div>
17        <div class="inner"><button type="submit" class="msgBtn2" onClick="return false;">Publish</button></div>
18        <div class="inner"><button class="msgBtnBack">Back</button></div>
19    </div>
20