html - How I can overlap a DIV on to other DIV? -
i trying make overlapping div onto other visually . trying
{ position:absolute; top:-10px; }   in css, found top attribute not working in firefox. dear fellas, how that? please me codes or examples. thx in advance
here's easy way
css
.top {     position: relative; } .topabs {     position: absolute; }   html
<div class='top'>     <div class='topabs'>         i'm top div     </div> </div> <div>no styles, frowns :(</div>   the relative positioned div collapses there no contents, causing coordinates 0,0 coordinates of absolute positioned div of div underneath.
Comments
Post a Comment