<!DOCTYPE html> <html> <head> <body> <div style="display: table; margin-left: 100px"> <div style="display: table-row"> <div style="float: right;"> <input type="text" value="This is a test"> </div> </div> </div> </body> </html>