You are here: Re: include HTML file in another HTML file « HTML « IT news, forums, messages
Re: include HTML file in another HTML file

Posted by Chris F.A. Johnson on 02/12/07 17:01

On 2007-02-12, 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>
>
> Looks good in DW but the menu html is not rendering when I test in the
> brower - I get the body of index html with no header or menu

Try using index.shtml rather than index.html.

--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)

 

Navigation:

[Reply to this 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

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