Skip to content

35 Leave Space Between Buttons

M. Fares edited this page Apr 20, 2018 · 1 revision

To leave blank space between two buttons, you have multiple choices:

  1. Add an html space entity   between them (The semicolon is part of the character entity)

    Short list of HTML character entities

    All HTML character entities

  2. Use CSS Styles

<input class="btn btn-right-space" value="Submit" type="button">
<input class="btn btn-right-space" value="Cancel" type="button">
.btn-right-space {
    margin-right: 5px;
}

Clone this wiki locally