.box { width:400px; height:500px; margin:auto; position:relative; } li { float:left; list-style:none; width:100px; height:100px; background:red; margin-left:20px; margin-top:30px; } input { position:absolute; left:90px; } .ipt { left:20px; }