Here's my code for the two:
<a href="#" class="nocursor"><div class="overlay"></div></a> <div class="submit_form" id="report_form"> <a href="#" id="report_close" style="z-align: 9999;"> <div class="close_btn">X</div> </a> That wall has been reported </div> <div class="submit_form" id="submit_form"> <a href="#" id="submit_close"> <div class="close_btn">X</div> </a> <form action="upload.php" id="submit_rawform" method="post" encoding="multipart/form-data" enctype="multipart/form-data"> <input type="file" id="file" name="wall"> <input type="button" id="file_front" value="Wall"><br> <input type="submit" id="submit_wall" value="Share"> </form> </div>
and here's the style:
.overlay {
z-index: 995;
background-color: black;
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
opacity: 0.7;
display: none;
}
.nocursor {
cursor: default;
}
.close_btn {
position: absolute;
background-color: black;
z-index: 999;
border-radius: 10px;
-moz-border-radius: 10px;
padding: 3px 7px;
border: 2px solid white;
top: -15px;
right: -15px;
}
.dialog {
z-index: 998;
text-align: center;
position: absolute;
top: 50%;
left: 35%;
width: 350px;
border: 3px solid white;
background-color: #000;
-moz-border-radius: 13px;
border-radius: 13px;
padding: 15px;
display: none;
}
.dialog #file {
opacity: 0;
position: absolute;
}
.dialog #submit_wall, #file_front {
width: 100%;
padding: 10px 0px;
}
So, what gives? I used inspect element in Chrome and it showed no HTML for the close button (while it showed for submit's). Also tried it in Internet Explorer, same result.

New Topic/Question
Reply




MultiQuote






|