javascript - Getting textarea's to be next to each other in a div -
so have div, , have 2
<textarea>
tags inside. how them go next each other instead of 1 on each row.
in case, can
.input-field-div{ display:inline-block; }
.thirdrow { background-color: blue; border: 10px solid red; border-radius: 10px; } .input-field-div{ display:inline-block; } }
<div class="col-md-12 thirdrow"> <!-- input fields --> <!-- player 1 name input field --> <div class="input-field-div"> <textarea id="input-player1-name" rows="1" placeholder="player 1 name"></textarea> </div> <!-- player 2 name input field --> <div class="input-field-div"> <textarea id="input-player2-name" rows="1" placeholder="player 2 name"></textarea> </div> </div>
Comments
Post a Comment