HTML CSS examples for CSS Form:input button
Place button next to text field
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #theInput<!--from w w w.j a v a 2 s. co m--> { border:solid 1px green; height: 20px; line-height: 20px; vertical-align: middle } #theButton { border: solid 1px green; height: 22px; line-height: 22px; vertical-align: middle } </style> </head> <body> <input type="text" id="theInput"> <input type="button" value=" Go " id="theButton"> </body> </html>