I have seen this done using nested tables, although I personally wouldn't go that route. The route I would go is to use CSS and images. Something like:
CSS Code
Code:
/* set background images for corners */
#Panel .roundbox { background: url(Images/LeftPanel/Background.jpg) repeat; }
#Panel .top { background: url(Images/LeftPanel/Top.jpg) repeat-x; }
#Panel .top div { background: url(Images/LeftPanel/Top_Left.jpg) no-repeat top left; }
#Panel .top div div { background: url(Images/LeftPanel/Right.jpg) repeat-y top right; }
#Panel .bottom { background: url(Images/LeftPanel/Bottom.jpg) repeat-x; }
#Panel .bottom div { background: url(Images/LeftPanel/Bottom_Left.jpg) no-repeat top left; }
#Panel .bottom div div { background: url(Images/LeftPanel/Bottom_Right.jpg) no-repeat top right; }
#Panel .contentwrap { background: url(Images/LeftPanel/Left.jpg) repeat-y; }
#Panel .content { background: url(Images/LeftPanel/Right.jpg) repeat-y right; }
/* height and width details */
#Panel .top div, #Panel .top
{
width: 100%;
height: 10px;
font-size: 1px;
}
#Panel .bottom div, #Panel .bottom
{
width: 100%;
height: 26px;
font-size: 1px;
}
#Panel .content { padding: 1px 7px; margin: 0; }
#Panel .roundbox { width: 100%; }
HTML Code:
Code:
<div id="Panel">
<div class="roundbox">
<div class="top"><div><div></div></div></div>
<div class="contentwrap">
<div class="content">
<p>Content would be placed here</p>
</div>
</div>
<div class="bottom"><div><div></div></div></div>
</div>
</div>
Bookmarks