<table class="ContentBox" border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td class="ctopleft"></td> <td class="ctoptile"><div class="ContentBoxTitle">$block[title] </div></td> <td class="ctopright"></td> </tr> </table> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td class="clefttile"></td> <td class="ContentBoxBody"> <div class="ContentBoxBody"> $block[content] </div> <!-- move the closing div tag here --> </td> <td class="crighttile"></td> </tr> </table> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td class="cbottomleft"></td> <td class="cbottomtile"> </td> <td class="cbottomright"></td> </tr> </table> </td> </tr> </table> <br> <!-- </div> move me up -->
.ContentBox { border: 1px solid #00004F; border-radius: 4px 4px 4px 4px; /* display: block; ===== remove this line ===== */ margin: 0 auto 10px !important; padding: 0 !important; }
.ContentBox { display: table !important; }
<style type="text/css"> .tooltip, .preview, .screenshot { cursor:pointer; } #tooltip, #tooltip2, #preview, #screenshot { color:#dddddd; background:#222222; border: 1px solid #333333; padding:5px; display:none; opacity: 0.9; filter: alpha(opacity=90); text-align:left; border-radius: 1em; -moz-border-radius: 1em; -webkit-border-radius: 1em; } </style> <script src="http://www.axiomfiles.com/Files/258012/tooltip.js" type="text/javascript"></script>