fantomel Posted March 5, 2009 Share Posted March 5, 2009 Hello i have a small problem with a table i don't know how to add some columns left and right with a 12px width but to be above the top column and header and bottom column... so here is my code for the moment. <style type="text/css"> html { height: 100%; } body { margin: 0; padding: 0; background: #999999; color: #000033; height: 100%; } #wrapper { height: 100%; width: 95%; background: #DDEEFF; color: #000033; } #wrapper td { vertical-align: top; } #header { height: 384px; background-color: #000059; color: #F2F2FF; } #topcol { height: 12px; background-color: #CCFF33; color: #F2F2FF; } #bottomcol { height: 12px; background: #80A7E0; color: #000033; } #content { background: #FBFBFF; color: #000033; border-left: 1px solid #000055; border-right: 1px solid #000055; } </style> </head> <body> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="wrapper"> <tr> <td id="topcol" colspan="3"> <tr> <td id="header" colspan="3"> </td> </tr> </td> </tr> <tr> <td id="content"><p> </p> <p> </p> <p> </p> <p> </p> <p> </p></td> </tr> <tr> <td id="bottomcol" colspan="3"> </td> </tr> </table> Quote Link to comment https://forums.phpfreaks.com/topic/148160-table-columns-templating/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.