Floating inner div in parent
- by Ockonal
Hello, I have two divs:
<div id="modalBox" style="position: absolute;
border: 1px solid #bababa;
width: 400px; height:
180px; background-color: #e3e6ca;
text-align: center;
-moz-border-radius: 6px; -webkit-border-radius: 6px;
display: none;">
<div style="background-color: #98002f;
background-image: url(*/images/tab_background.gif);
color: white; width: 400px;
height: 25px;
-moz-border-radius-topright: 6px; -moz-border-radius-topleft: 6px;
-webkit-border-top-right-radius: 6px; -webkit-border-top-left-radius: 6px;">
<h3>Please, fill the form to confirm your identity:</h3>
</div>
...
</div>
What I get:
How can I make inner div floating top?