Stacking divs

SpaceshipSpaceship
Watch

Bryan792

Established Member
Impact
0
how do i stack 1 div ontop of two...not ontop of one but both...
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Something like this?

In the CSS:

div.all { margin: 5px; width: 704px; height: 404px; border: 1px solid black; }
div.top { margin: 0px; width: 702px; height: 200px; border: 1px solid black; }
div.left { float: left; margin: 0px; width: 350px; height: 200px; border: 1px solid black; }
div.right { float: left; margin: 0px; width: 350px; height: 200px; border: 1px solid black; }

In the HTML body:

<div class="all">
<div class="top"></div>
<div class="left"></div>
<div class="right"></div>
</div>
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
Appraise.net

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back