Forum Moderators: mack

Message Too Old, No Replies

HTML page inside SHTML template

         

GhostPig

6:15 pm on Sep 28, 2005 (gmt 0)

10+ Year Member



Hi all,

Basically, what I want is to set-up a SHTML template (with standard side columns and a header), and then just change the information that is located in the middle of the page via a HTML document

I'm sure it's possible to do this via the above method, can someone please confirm this for me - and, if you could be really helpful and point me in the right direction of a web resource that explains which HTML commands I need to use I'd be very grateful!

Thanks!

benihana

10:22 am on Sep 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Bascically you in your header include, just contain everything up to where your content should start - for me this is normally everything after the <title> up to where i have something like <div id="content"> -including CSS references etc (you have to make sure the paths are ok).

Then after the content you can have another 'footer' include with </div> for the content, and anything else to go at the bottom of the page.

GhostPig

11:54 am on Sep 30, 2005 (gmt 0)

10+ Year Member



Excellent - pretty much as I thought really.

The command, I found out was:
<!--#include virtual="insertthisfile.html" -->

and that seems to work well enough.

Thanks for you help