html에서 text input과 button 을 한 줄 (one line)에 넣는 방법

TechNote Forum Forums Forum html에서 text input과 button 을 한 줄 (one line)에 넣는 방법

This topic contains 0 replies, has 1 voice, and was last updated by  technote 2 months, 1 week ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1066

    technote
    Keymaster

    <input class=”button” type=”submit” id=”search_submit” style=”float: right”/>
    <div style=”overflow: hidden; padding-right: .5em;”>
    <input type=”text” name=”search” id=”search” style=”width: 100%;”/>
    </div>

     

    button 을 오른쪽에 float로 띄워 놓고 input 을 설정해주면 된다.

    • This topic was modified 2 months, 1 week ago by  technote.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.