Originariamente inviato da knifekiller
prova dare le proprietà che vuoi nell'id chiudiX..
Posto il codice
Codice PHP:
<style type="text/css">
#X {
background-color:red;
width:900px;
height:100px;
}
#bannerX {
position:absolute;
width:400px;
height:auto;
margin-left:280px;
margin-top:100px;
display:none;
}
#chiudiX{
position:absolute;
background-color:white;
width:52px;
height:30px;
font-family:arial;
font-size:12px;
font-weight:bold;
text-decoration:none;
margin-left:631px;
margin-top:84px;
text-align:center;
display:none;
}
#chiudiX a:link{
background-color:white;
width:52px;
height:30px;
font-family:arial;
font-size:12px;color:black;
font-weight:bold;
text-decoration:none;
text-align:center;
}
#chiudiX a:hover{
background-color:white;
width:52px;
height:16px;
font-family:arial;
font-size:12px;color:red;
font-weight:bold;
text-decoration:none;
text-align:center;
}
</style>
Codice PHP:
<div id="X">
<div id="chiudiX">
[url="#"]Chiudi X[/url]
</div>
<div id="bannerX>
form
</div>
</div>