Skip to content

Instantly share code, notes, and snippets.

@georgioupanayiotis
Created June 4, 2015 13:22
Show Gist options
  • Save georgioupanayiotis/e97722a3fd6a2d12f380 to your computer and use it in GitHub Desktop.
Save georgioupanayiotis/e97722a3fd6a2d12f380 to your computer and use it in GitHub Desktop.
Input field and submit button on the same line, full width.
<form action="search.php" method="get">
<input type="submit" name="search" value="Go" style="float: right" />
<div style="overflow: hidden; padding-right: .5em;">
<input type="text" name="term" style="width: 100%;" />
</div>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment