<!doctype HTML> | |
<style> | |
input { | |
position: absolute; | |
width: 150px; | |
height: 50px; | |
} | |
.i1 { | |
top: 100px; | |
} | |
.i2 { | |
top: 170px; | |
} | |
</style> | |
<div style=" position: relative; width: 400px; height: 400px; overflow: hidden;"> | |
<div style="width: 200px; height: 300px;"></div> | |
<input type="text" class="i1" value="test test test test test test test test"/> | |
<input type="text" class="i2"/> | |
</div> |