HTML CSS examples for CSS Form:input
Align select, input, submit in same row without falling down
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .my-search {<!-- w w w .j a v a 2 s . c o m--> width:251px; background:red; display:inline; } select, input { display:inline-block; } input[type="text"] { display:inline-block; float:none; } </style> </head> <body> <div class="my-search"> <select> <option>All</option> <option>this makes error</option> </select> <input type="text" class="seacrh-input"> <input type="button" value="oke" class="input-btn"> </div> </body> </html>