I have a gradient drop shadow that uses two different images. One on each side. How can I setup my OutsideContainer
to be relative to the Center
in size? So, when the Center content expands OutsideContainer
expands.
This way my Gradients show on the whole content area.
.Left
{
background-image:url(themes/Light/images/BorderLeft.gif);
background-repeat:repeat-y;
float:left;
background-color:#FF0000;/*Colors work in place of having the picture*/
height:100%;
width:8px;
}
.Center
{
float:left;
background-color:#FFFFFF;
width:745px;
}
.Right
{
background-image:url(themes/Light/images/BorderRight.gif);
background-repeat:repeat-y;
float:left;
background-color:#00FF00;/*Colors work in place of having the picture*/
height:100%;
width:8px;
}
.OutsideContainer
{
margin:0 auto;
width:761px;
height:200px;
}
<body>
<div class="OutsideContainer">
<div class="Left"></div>
<div class="Center">blah blah <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />blah<br /></div>
<div class="Right"></div>
</div>
</body>