...

View Full Version : Resolved help with css3 boxes



skeith
08-05-2011, 05:41 PM
I've create a box with this settings



.rbox{
margin-left:auto;
margin-right:auto;
width:750px;
height:480px;
background-color:#CACACA;
border: 1px solid #FFFFFF;
padding: 5px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px; /* future proofing */
-khtml-border-radius: 10px; /* for old Konqueror browsers */
box-shadow: 0px 0px 20px #FFFFFF;
-webkit-box-reflect: below 15px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(85%, transparent), to(rgba(255,255,255,0.2)));
}

the question is
can I create another box inside a box?
I've tried creating a smaller duplicate of the settings above
but no box is shown


update:
never mind
just got it solved

sunfighter
08-05-2011, 08:14 PM
Yeah you can:

<div class="rbox"><div class="rbox" style="width:550px;height:100px;background-color:red;"></div></div>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum