Reply to Re: include HTML file in another HTML file

Your name:

Reply:


Posted by Jonathan N. Little on 02/12/07 17:08

Tom wrote:
> Using Dreamweaver 8
>
> Have 50+ html files all with same header, menus etc. Trying to use
> #include to consolidate
>
> Created an html file for my menus which just has table and div tags
> for the header and menu bar - no html or body tags.
>
> File looks good in DW and browser
>
> Deleting header and menu code from index.html and inserting <!--
> #include file="menu.html"--> after <body>

Depending on your server config:

1) your file might have to be named *.shtml
2) insert with 'virtual': <!--#include virtual="menu.html" -->




--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация