css - box shadow applied to container div cuts off the last two floating child divs -
i applying box shadow on maincontent
div contains 6 other divs box shadow applied section of maincontent
div above last 2 floating divs.
html:
<div id="maincontent"> <div id="div1"> <h1>welcome archive </h1> <h2>the internet archive, digital library of files , other cultural artifacts in digital form.</h2> </div> <div class="div11"> <h3>archive 1</h3> <p>some info</p> </div> <div class="div12"> <h3>archive 2</h3> <p>info</p> </div> <div class="div13"> <h3>archive 3</h3> <p>info</p> </div> <div class="left"> <h4>jasdasdasdasd</h4> <p><em>some info on how use website</em> </p> </div> <div class="right"> <h3>archive1</h3> <p>most added archives comes here</p> <br /> <h3>asdasdsd</h3> <p>most added archives comes here</p> </div> </div>
css:
#maincontent { width:970px; padding-bottom:55px; /*equal footers height*/ background:#fff; margin-bottom:10px; padding:10px 10px 10px 10px; -moz-border-radius: 5px; border-radius: 5px; border-bottom-left-radius:3px; border-bottom-right-radius:3px; box-shadow: 0 0 20px #ccc; } .left { float: left; width: 250px; height:auto; } .right { float: right; width: 630px; margin: 0 0 20px; height:auto; }
Comments
Post a Comment