
March 18th, 2005, 11:13 PM
|
|
|
|
Join Date: Apr 2007
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Frames
right i have a problem here
i got a site coded in html, but want to switch it over to php, but its using frames.
I know theres a way of doing a php include page that will allow you to include pages. This is done in the form of a table
Heres what i need
Main top header going 100%, and a left side and a middle side
as the pages i will be including will have withs 100%
i need something like this but a nicer version
please not all i want to include is a headder, left and a main
i dont need a right or footer
php Code:
Original
- php Code |
|
|
|
<table width=750 border=0 CELLPADDING=0 CELLSPACING=0 align="center" class="border"> <tr> <td> <TABLE WIDTH=750 height=100% BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center"> <TR> <TD width="750" align="center" valign="top"> <?php include('topset.htm'); ?> </td> </tr> </table> <TABLE WIDTH=750 BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center"> <TR> <TD width="170" align="center" valign="top"> <table width=150 BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center" > <TR> <TD> <?php include('leftset.htm'); ?> </TD> </TR> </table> </TD> <TD width="410" align="center" valign="top"> <table width=150 BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center"> <TR> <TD> <?php include('mainset.htm'); ?> </TD> </TR> </table> </TD> <TD width="170" align="center" valign="top"> <table width=150 BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center"> <TR> <TD> <?php include('rightset.htm'); ?> </TD> </TR> </table> </TD> </TR> </TABLE> </td> </tr> <table width=500 BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center"> <TR> <TD> <?php include('footer.htm'); ?> </TD> </TR> </table> </table>
|