I currently have a table:
<table id="blockcontainer">
<tr>
<td class="topleftgrey"></td>
<td class="topcentergrey">
<span class="sharemedium">FAQ</span> <span class="headingmedium">Categories</span>
</td>
<td class="toprightgrey"></td>
</tr>
<tr>
<td class="middleleft"></td>
<td class="middlecenter">
some content goes here
</td>
<td class="middleright"></td>
</tr>
<tr>
<td class="bottomleft"></td>
<td class="bottomcenter"></td>
<td class="bottomright"></td>
</tr>
</table>
With CSS:
#blockcontainer {width:100%;}
#blockcontainer .topleft{background:url(../../Content/Images/top-left.png) no- repeat;width:8px;height:52px;}
#blockcontainer .topcenter{background:url(../../Content/Images/top-center.png) repeat-x;height:52px;color:#fff;padding-left:5px;font-size: large;text-align: left;}
#blockcontainer .topright{background:url(../../Content/Images/top-right.png) no-repeat;width:8px;height:52px;}
#blockcontainer .topleftgrey{background:url(../../Content/Images/top-leftgrey.png) no-repeat;width:8px;height:52px;text-align: left;}
#blockcontainer .topcentergrey{background:url(../../Content/Images/top-centergrey.png) repeat-x;height:52px;padding-left:5px;font-size:large;text-align: left;}
#blockcontainer .toprightgrey{background:url(../../Content/Images/top-rightgrey.png) no-repeat;width:8px;height:52px;text-align: left;}
#blockcontainer .middleleft{background:url(../../Content/Images/middle-left.png) repeat-y;width:8px;}
#blockcontainer .middlecenter{background-color:#fff;padding:5px;}
#blockcontainer .middleright{background:url(../../Content/Images/middle-right.png) repeat-y;width:8px;}
#blockcontainer .bottomleft{background:url(../../Content/Images/bottom-left.png) no-repeat;width:8px;height:8px;}
#blockcontainer .bottomcenter{background:url(../../Content/Images/bottom-center.png) repeat-x;height:8px;}
#blockcontainer .bottomright{background:url(../../Content/Images/bottom-right.png) no-repeat;width:8px;height:8px;}
That looks like this:

The problem I am having is that there are multiple tables like this on one page (this table acts as my content containers), and due to the way that tables load in a browser, the page loads terribly slow.
I know converting this to a div will make the world of difference, but I am unable to convert this table structure to an equivalent div stricture.
Sorry for posting a “do it for me” question, but multiple attempts at this has already left a piece of my keyboard on my wall. 🙂
Aniket beat me to it, however I believe mine is a more accurate CSS rendition of your current image and table-based code:
http://jsfiddle.net/purmou/YyHKf/
It uses CSS3
box-shadow(along with the browser prefixed versions for compatibility) and gradient backgrounds (which doesn’t work in Opera only, but that’s an easy addition).HTML:
CSS: