SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Fluffy Kitten Programmer~ Elledan's Avatar
    Join Date
    Jun 2000
    Location
    Netherlands
    Posts
    1,356
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've one page now with the general layout, but I'm stuck on how to seperate the page into includes and the main layout of the page. I need yet to insert the PHP code into the page, so it's only HTML now:

    http://triaxis.virtualave.net/temp/template.shtml

    Thanks for you time!
    www.nyanko.ws - My web-, software- and game development company.
    www.mayaposch.com - My personal site and blog.

  2. #2
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Elledan...depending on the setup of your page, you could one of two ways.

    IF the left navigation changes on every page, then you could include everything from the top down to the first colspan="3" just below the Techonology, software navigation. as seen below.

    <td colspan="3" bgcolor="#006699" valign="top"></td>
    </tr>


    If on, the other hand, the left navigation stays the same on all pages you could include everything from the header down to the last </td> tag before the content portion of the site.

    -Contact</font></td>
    </tr>
    </table>
    <br>
    </td>
    </tr>
    </table>
    </td>


    Then, in both choices, you could include the footer which would start here and go to the end of the page....

    <tr>
    <td colspan="3" bgcolor="#006699"><img src="rndcrnr_leftben.gif" width="25" height="25" border="0"></td>


    One thing that is AMAZINGLY helpful when you are setting up the HTML is to comment the hell out of everything....you can always remove them later, but it makes it so much easier to copy and paste chunks of your code.

    For example...look at http://www.oursmallgroup.com/. View source and look at how I have commented my code. Every little chunk gets it own set of comments. One of the benefits to that method is that I can start copying at the first comment tag and stop at the ending tag. I know that I have everything relating to that section.


    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  3. #3
    Fluffy Kitten Programmer~ Elledan's Avatar
    Join Date
    Jun 2000
    Location
    Netherlands
    Posts
    1,356
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, thanks creole! I got the whole page splitted up now
    www.nyanko.ws - My web-, software- and game development company.
    www.mayaposch.com - My personal site and blog.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •