Hi all,
I am having trouble developing my new website.
I am a Novice but capable of understanding basic CSS and HTML and have used some JAVASCRIPT but don't really know how to use it.
The problem I have is this:
I have created a drop down menu at the top of my page which links between all other pages (30 at present). I have used html to add the actual fields ie. <tr><td class="menu"><a href="../indianrainforest">Indian Rainforests</a></td></tr>
However every time I add a new page and add <tr><td class="menu"><a href="../niagara">Niagara Falls</a></td></tr> to the drop menu I have to go to all 30 other pages and add the new code to each drop menu. This is barely manageable now never mind when it is possibly linking 100 pages.
Therefore I ask is there a way to set a code on one of the pages that will automatically add this new code to all the pages. ie. maybe only having this code being written on one webpage but being accessible from all of them:
<tr><td class="menu"><a href="../indianrainforest">Indian Rainforests</a></td></tr>
<tr><td class="menu"><a href="../niagara">Niagara Falls</a></td></tr>
<tr><td class="menu"><a href="../taj">Taj Mahal</a></td></tr>
<tr><td class="menu"><a href="../liberty">Statue of Liberty</a></td></tr>
I have been using CSS to apply changes to all webpages in terms of functionality and appearance but I don't know if there is anyway to add content like the above code to apply to all pages:
table{font-size:150%;background:white; border:5px groove #37B63A;}
a{color:white;text-decoration:none;font:bold}
a:hover{color:black}
td.menu{background:#AFE0B0}
table.menu
{
font-size:60%; background:black; border: 2px solid #37B63A;
position:absolute;
visibility:hidden;
}
Any suggestions would be greatly appreciated
Ryan
