1. margin

margin의 속성값을 조절하여 버튼사이 간격조절

 

<button> 첫 번째 버튼</button>

<span style="margin: 0 10px;"></span>

<button> 두 번째 버튼</button>

 

 

 

2. 패딩(padding)을 이용한 간격 조절

 

<button style="margin-right: 10px;">첫 번째 버튼</button>

<button>두 번째 버튼</button>

 

 

 나의 경우 이렇게 적용했다.

 <button class="btn1" style="margin-right: 10px;" type="submit">

+ Recent posts