Announcement

Collapse
No announcement yet.

HTML question - sort of off topic

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    HTML question - sort of off topic

    Can you have an include file in HTML. I have a lovely new downloads page, and want to include it. My pages are mostly written using brochure with HTML inside the special tags however my lovely new page has got too many characters for brochure so it will not work. I will try splitting it over several fragments however if you could include a file it would be a lot easier to maintain stuff.

    Regards,
    Jan Strassen, Mole End

    #2
    If your server supports Server-Side Includes then

    <!--#include file="myfile.html" -->

    will do it. The file need only contain the bits of html you need - not an entire page with <htm>.....</html>. The page containing this code needs a .shtml extension to make the server aware that there's something to parse.

    Try it and see.

    Norman
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thank you very much Norman, that worked a treat!

      Take a look at
      http://www.mole-end.biz/acatalog/Downloads.shtml to see the results if you like.

      This is going to make it a lot easier for me to do things on the web site now.

      Many thanks,
      Jan Strassen, Mole End

      Comment

      Working...
      X