Floating inner div in parent
Posted
by Ockonal
on Stack Overflow
See other posts from Stack Overflow
or by Ockonal
Published on 2010-04-25T09:16:32Z
Indexed on
2010/04/25
9:23 UTC
Read the original article
Hit count: 191
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?
© Stack Overflow or respective owner