Freepages-Help-L Archives

Archiver > Freepages-Help > 2008-10 > 1224151352


From: "Susan Penter" <>
Subject: Re: [FreeHelp] Separate CSS
Date: Thu, 16 Oct 2008 11:02:32 +0100
References: <74a486090810151757x51bd59cbob48e0b68a39897e8@mail.gmail.com><DE2827860E7C4D90885104FF185EC2F9@Muffin>
In-Reply-To: <DE2827860E7C4D90885104FF185EC2F9@Muffin>


Hi, I have followed these instructions to the letter but unfortunately it
has not worked.

This is my code in case I have done anything wrong:

The content of menu.html

<div =""><a href="index.html">Home</a>&nbsp;&nbsp;
<a href="parishesi-o.html">Parishes</a>&nbsp;&nbsp;
<a href="about.html">About OPCs</a>&nbsp;&nbsp;
<a href="getinvolved.html">Get Involved</a>&nbsp;&nbsp;
<a href="">OPC Information</a>&nbsp;&nbsp;
<a href="links.html">Links</a>&nbsp;&nbsp;
</div>

The content of the tester page

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "
http://www.w3.org/TR/html4/strict.dtd">;
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>Tester</title>
<link rel="stylesheet" type="text/css"
href="mainstyle.css">
</head>
<body>
<h1>Tester</h1>
<br>
<!--webbot bot="Include" U-Include="_includes/menu.html" TAG="BODY" -->
</body>
</html>


Thank you in advance

Susan

ps I've sorted out the othr prob I had saved the .css file with the <style>
tags at the beginning and the end, when I removed them the image appeared!



2008/10/16 Linda H. Gutierrez <>

> Hi Susan,
>
> I think I can answer your second question - I am no expert, but....
>
> Use your CSS style sheet to create the styles for your menu.
>
> Then in your web create a folder called _includes.
>
> Make your menu in a new web page in your web, making sure to link your
> style sheet and then save the page as an htm/html file.
>
> Move or save the file into your _includes folder.
>
> Then in your pages, insert this code where you wish your menu to be,
> changing "your-menu" to the name of your menu.
>
> <!--webbot bot="Include" U-Include="_includes/your-menu.htm" TAG="BODY" -->
>
> The next time you need to make a change to your menu, just do it in the one
> file and then update your web.
>
> I hope this helps to answer your question.
>
> Linda
> in Costa Rica
> Monroe County, NY Records and Family Genealogy
> http://freepages.genealogy.rootsweb.ancestry.com/~monroenys/<http://freepages.genealogy.rootsweb.ancestry.com/%7Emonroenys/>;
> Monroe County, NY History
> http://freepages.history.rootsweb.ancestry.com/~monroenys/<http://freepages.history.rootsweb.ancestry.com/%7Emonroenys/>;
>
>
>
> ----- Original Message -----
>
> *From:* Susan Penter <>
> *To:*
> *Sent:* Wednesday, 15 October, 2008 6:57 PM
> *Subject:* [FreeHelp] Separate CSS
>
> <SNIP>
>
> Secondly I realize that Rootsweb does not use php does anyone know a html
> acceptable way of doing the equivalent of a php include for the menu bar so
> that I do not have to go and change every webpage if I add a new link.
>
> Thanks,
> Susan
>
>


--
OPC for Lanteglos-by-Fowey
http://www.cornwall-opc.org/Par_new/l_m/lanteglos_fowey.php

OPC coordinator for Wiltshire
http://www.rootsweb.ancestry.com/~engwopcp/

Secretary to the PCC St. Michael's Headingley
http://www.st-michaels-headingley.org.uk/


This thread: