Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using an Includes file

Status
Not open for further replies.

djcampos

Programmer
May 12, 2005
15
US
I'm having a problem when trying to use an includes file in Dreamweaver MX. Whenever I insert the code into the code view of my page and then go the design view, I cannot see the rest of my page. In other words, I cannot edit any content until I remove the Includes code that I just inserted. When I view the file in a browser, everything appears to be there, but trying to edit in design view is a problem since I have to remove the <!-- #include File="../Includes/Top_Navigation.htm" --> every time I want to edit any content on the page. Anyone else have this problem? Thanks.
 
Sounds like your include file contains html/body/head tags?

Cheech

[Peace][Pipe]
 
Put the include code at the bottom of the page so it loads last. Of course this will make it load last on your live page also so you have to decide which is the lessor of the two evils if that is a problem.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top