[WEB4LIB] CSS Includes
Thomas Dowling
tdowling at ohiolink.edu
Wed Sep 29 10:47:59 EDT 1999
There's nothing in CSS about this--I suspect you're thinking of SSI:
Server Side Includes.
SSI is one of a number of server-side parsing techniques, PHP and ASP
being notable alternatives. To use SSI:
1. Bake your webmaster some brownies and ask to have
it enabled (if it's even supported on your server)*
2. Read <URL:http://www.apache.org/docs/mod/mod_include.html>
3. Create a file under your web server with the snippet of HTML
you want to include.
4. Put in your HTML document(s):
<!--#include virtual="/relative/URL/of/snippet.html" -->
There are plenty of other things you can do with SSI.
*Your webmaster may need to be convinced that SSI will not be a security
risk and will not have a major performance hit on your server. This may
take more than one batch of brownies. Always check first to determine
whether your webmaster would rather have chocolate chip cookies.
Thomas Dowling
OhioLINK - Ohio Library and Information Network
tdowling at ohiolink.edu
----- Original Message -----
From: Robin L. Zalben <zalbenrl at alverno.edu>
To: Multiple recipients of list <web4lib at webjunction.org>
Sent: Wednesday, September 29, 1999 10:18 AM
Subject: [WEB4LIB] CSS Includes
> I read an article ages ago about Includes which allow you to put
> text into a page. I can't find any information about how to do it and
> how it works. What I want to do is have the header and footer of our
> web page in a separate file so that it can be consistant and also so
> that it can be updated with one file instead of editing every page.
>
> Does anyone out there know how this works?
>
> Thanks,
>
> Robin Zalben
> --
> ********************************************************
>
> Robin Zalben
> Reference/Automation Librarian
> Alverno College Library
> Milwaukee, Wisconsin
>
More information about the Web4lib
mailing list