salve ragazzi, ho questo codice:
come faccio a posizionare un div a 400 e 50 pixel rispettivamente dal top e left del div "contenitore"?codice:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled</title> <style type="text/css"> <!-- * { margin:0; padding:0; } html, body { height:100% } body { background:gray; text-align:center; overflow:auto; } #contenitore { background:silver; width:700px; min-height:100%; height:auto!important; height:100%; margin:auto; position:relative; border:5px solid #FFFFFF; background:#ADB583 url(img/header.jpg) no-repeat top left; } --> </style> </head> <body> <div id="contenitore"></div> </body> </html>
grazie! ;)

Rispondi quotando