Does anyone break apart your header and footer content into two files?

Such as:

<!--------------------------- dsp_Header.cfm -->

<HTML>
<HEAD>
<TITLE>My Title</TITLE>
</HEAD>
<BODY>

<!--------------------------- dsp_Top.cfm -->

<TABLE width="100%" cellspacing="0" cellpadding="0" border="0">
        <TR>
                <TD>
                        My Header
                </TD>
        </TR>
        <TR>
                <TD>

<!--------------------------- dsp_Bottom.cfm -->

                </TD>
        </TR>
        <TR>
                <TD>
                        Credits
                </TD>
        </TR>
</TABLE>

<!--------------------------- dsp_Footer.cfm -->

</BODY>
</HTML>

Would this make it easier to include the dsp_header.cfm (which may never
change) and optionally include the dsp_top.cfm and dsp_bottom.cfm?

The reason I ask is because I have a site where the header and footer may
change from page to page.  Instead of duplicating everything between the
<html> and <body> tags over and over in different header files, would it
make more since to separate it into one file all together?

I know that you would have to change app_layout.cfm to include the
dsp_top.cfm and bottom.cfm, but it could work.

Has anyone done something different?  I'd like to see some other methods.

Thanks,

Brad Roberts

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to