HTML CSS examples for CSS Layout:Responsive Layout
CSS setting two elements inline within responsive div
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> div {<!-- w w w.jav a2s . c o m--> width:100%; display:table; } button { width:91px; } .col { display:table-cell; } .col input { width:100%; } </style> </head> <body> <div> <div class="col"> <input type="text"> </div> <div class="col"> <button>Lore</button> </div> </div> </body> </html>