1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
<!DOCTYPE HTML> <html><head> <style> #s { position: absolute; top: 20px; left: 20px; display: block; width: 400px; height: 150px; } #p { background-color: black; width: 400px; height: 150px; position: absolute; top: 270px; left: 20px; } </style> </head> <body> <input type="file" id="s" /> <div id="p"> </div> </body> </html>