Re: import text using CSS?
by David Kendall <david(at)homepagesplus.com>
|
| Date: |
Thu, 10 Jun 2004 22:14:04 -0500 |
| To: |
hwg-techniques(at)hwg.org |
| In-Reply-To: |
localhost |
| |
todo: View
Thread,
Original
|
|
> Someone has asked me if I can use CSS to import the contents of the
> menu into the box without having to type out each item on the menu.
>
> For example, the current website I'm working on-
> www.northernmediators.co.uk has a menu on the right hand side of the
> screen, and on each page the menu is replicated and in the source, the
> same text for that menu appears.
>
> If that menu ever has to change, then every page for the website will
> also have to be changed. So is there a way of having the menu
> contents in the CSS so its only changed the once?
I recently asked a similar question on list. What I came up with (I
don't know if it was suggested by a listmember or I thought of it)
was the <iframe> command. I have my table of contents in an html
document, and on every page I just have a space on the page that I
want it to appear on, and the code in that space is the <iframe>
command. That way, changes in the table of contents only have to
be done ont he master file, the <iframe> comand will link to the
updated file.
--
David Kendall - president / chief web designer
Home Pages Plus!
(204) 254-3649
david(at)homepagesplus.com
www.homepagesplus.com
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.