Site Logo  

Welcome to the
Build It Yourself Website .com

 
Under Construction
Note: This site is currently under construction.
 
 
Menu



Get your free Build It Yourself Website .com Template.

Right click and choose "Save Target As..."

Right Click - Save Target As...




Additional Information









 

Index.php Code Part 6

        <td width="70%"><!--- Main Header (70% <h1><center></center></h1>) ---><?php include ("includes/header.inc.php"); ?></td>

The next line includes the main header and sets the length for the large center column of the webpage. The line starts out with the "<td width="70%">" tag. This tag starts the cell and sets the width of the cell to be 70% of the visitors screen. It is good to use percentages where ever possible so that the site can automatically adjust for the setting of each individual visitor. The next portion "<!--- Main Header (70% <h1><center></center></h1>) --->" is a note as a reminder that this is where the main header of the website goes. It also reminds of the column width and to make this the first header and centered in the "includes" file. The "<?php include ("includes/header.inc.php"); ?>" uses php to include the "header.inc.php" file into the website and where to find it. And the "</td>" ends the cell.

        <td><!--- Blank Column --->&nbsp;</td>

The "<td><!--- Blank Column --->&nbsp;</td>" adds another small spacing column to keep up that neat and clean appearance.

        <td width="160"><!--- Upper Right Corner (160x160 or 10% <center></center>) ---><?php include("includes/upperright.inc.php"); ?></td>

The next line creates the last cell in the table. It starts with the "<td width="160">" to start the cell, and set the width at 160 pixels. The next section "<!--- Upper Right Corner (160x160 or 10% <center></center>) --->" is a note that reminds us that this is the upper right corner of the website. It also reminds us that is should either be 160 pixels wide or 10% wide and centered in the cell. The "<?php include("includes/upperright.inc.php"); ?>" includes the "upperright.inc.php" file into the website. And the "</td>" ends the cell.

    </tr>

The "</tr>" ends the table row and allows the computer to start something else. If you go back and look, you will notice that there are five (5) "<td>" tags between the "<tr>" and "</tr>" tags. It is important to keep the number of "<td>" tags consistent with each row of the table.

    



 
 

Google



Additional Links    •    Search    •    Contact Us    •    Site Map



Any problems with this site, please feel free to contact the webmaster.

 



By viewing this site, you agree to the
Terms of Use Policy.

Copyright © 2002-2010 Build It Yourself Website .com