homepage Welcome to WebmasterWorld Guest from 54.205.193.39
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Embed Links etc
wa9578




msg:4262185
 11:36 am on Feb 3, 2011 (gmt 0)

Hi All,

I'm just curious as I know you can do it with CSS, but, can you embedd a HTML Document into a website and how do you do it?

I'm using Dreamweaver CS5 to create my site (not using the functions it has more for ease/viewing when coding). My issue is, if I change one of my headings in the nav bar (or any of its drop downs (which I add to regularly)), I then have to go through every page to change them too.

Is it possible to have like a template, and when you change the template, it amends all the pages too?

 

topr8




msg:4262190
 11:44 am on Feb 3, 2011 (gmt 0)

dreamweaver has what it calls library files for this purpose i think.

well it used to i haven't used it since macromedia version 4

topr8




msg:4262191
 11:47 am on Feb 3, 2011 (gmt 0)

>>not using the functions it has more for ease/viewing when coding

it's none of my business, but what's the point in paying the premium price of dreamweaver cs5 if you are not going to use the advanced functionality! dreamweaver templates and library files are a core part of benefit of using it.

wa9578




msg:4262192
 11:51 am on Feb 3, 2011 (gmt 0)

I got the master collection for the other programs, I'm new to HTML/CSS and rather than "cheat" (as some would call it) I'd rather learn the bits of code, and find out what it all does etc first. Rather than just clicking on something and it doing it for me. (if that makes sense)

wa9578




msg:4262212
 1:18 pm on Feb 3, 2011 (gmt 0)

figuredd out how to do it, seems to be a lot of faffing until its sorted though lol

rocknbil




msg:4262397
 6:47 pm on Feb 3, 2011 (gmt 0)

If you want to learn the code, keep the code window open . . .

However the legacy solution for what you are asking is Server Side Includes, which was designed for this purpose. It dynamically inserts a header from a single file. Down side: it's not a Dreamweaver thing, you won't be able to preview it locally on your computer. You need to upload files to your server and they will work there.

Many would suggest PHP includes for the same purpose, but IMO PHP is a rich dynamic server side language, using it "just for includes" is the equivalent of deploying a 30 lb sledgehammer to drive a thumbtack. It will work, though. The downside is still the same, only works on a server.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved