Automatic Web Design: PHP
The next step is to remove the header code from our index.php page. Since my header is in its own table this will be quite simple. All I need to do is cut where my header table begins and stop cutting where my header table ends. The below code is the code I used for this site, and also the code I cut out of my page when I first started.
<table border=0 cellpadding=0 cellspacing=0 width=800 align="center">
<tr><td align="LEFT" valign="TOP" colspan=2 width=294 height=77>
<img src="/images/hdr_1_1.gif" width=294 height=79 border=0></td>
<td align="LEFT" valign="TOP" colspan=5 width=264 height=77>
<img src="/images/hdr_1_2.gif" width=264 height=79 border=0></td>
<td align="LEFT" valign="TOP" colspan=3 width=242 height=77>
<img src="/images/hdr_1_3.gif" width=242 height=79 border=0>
</td></tr>
<tr> <td align="LEFT" valign="TOP" colspan=3 width=297 height=24>
<img src="/images/hdr_2_1.jpg" width=297 height=24 border=0>
</td><td align="LEFT" valign="TOP" width=89 height=24>
<img src="/images/hdr_2_2.jpg" width=89 height=24 border=0>
</td><td align="LEFT" valign="TOP" width=78 height=24>
<a onMouseOver="team_ps('home','','show','ileft','','show',
'ilower','','show','iright',''
,'show','itop','','show','how','','hide','what','','hide'
,'why','','hide','team','','hide')"
href="#><"img src="/images/home_button.gif"
width=78 height=24 border=0></a>
</td><td align="LEFT" valign="TOP" width=79 height=24>
<a onMouseOver="team_ps('how','','show','ileft','',
'show','ilower','','show',
'iright','','show','itop','','show','home','','
hide','what','','hide','why','','hide','team',''
,'hide')" href="#"><img src="/images/how_button.gif" width=79
height=24 border=0></a></td>
<td align="LEFT" valign="TOP" colspan=2 width=78
height=24a onMouseOver=
"team_ps('what','','show','ileft','','show','ilower'
,'','show','iright','','show','itop','','show',
'home','','hide','why','','hide','team','','hide','how'
,'','hide')"href="#"><img src="/images/what_button.gif"
width=78 height=24 border=0></a></td>
<td align="LEFT" valign="TOP"
width=77 height=24a onMouseOver="team_ps('why','','show'
,'ileft','','show','ilower',''
,'show','iright','','show','itop','',
'show','home','','hide','how','','hide','what',''
,'hide','team','','hide')"
href="#"><img src="/images/
why_button.gif" width=77 height=24
border=0></a></td>
<td align="LEFT" valign="TOP" width=102 height=24><a
onMouseOver="team_ps('team','','show','ileft','','show','
ilower','','show','iright','',
'show','itop','','show','home','','hide','what',''
,'hide','why','','hide','how','','hide')"href="#">
<img src="/images/team_button.gif"
width=102 height=24 border=0></a>
</td></tr><tr><td align="LEFT"
valign="TOP" rowspan=2 width=233 height=30>
<img src="/images/hdr_3_1.gif" width=233
height=30 border=0>
</td><td align="LEFT" valign="TOP"
colspan=9 width=567 height=11>
<img src="/images/hdr_3_2.gif" width=567
height=11 border=0></td></tr>
<tr><td align="LEFT" valign="TOP" colspan=9 height=19>
</td></tr>
</table>

As you can see that is a lot of goofy code to play with on every page if I wanted to make a change. So that is why when I got it working I just cut it out of my page.
Sponsored Links: