<!DOCTYPE html>
<body>
<input style="box-sizing:border-box; width:100px; text-align:right; padding-left:40px;" value="Hello world">
<input style="box-sizing:border-box; width:100px; text-align:right; padding-left:40px;" placeholder="Hello world">
<input style="box-sizing:border-box; width:100px; text-align:right; border-left-width:40px;" value="Hello world">
<input style="box-sizing:border-box; width:100px; text-align:right; border-left-width:40px;" placeholder="Hello world">
</body>
