Jump to content

table columns templating...


fantomel

Recommended Posts

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>


Link to comment
https://forums.phpfreaks.com/topic/148160-table-columns-templating/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.