I'm being really thick here (HTML and Web stuff is not my speciality) but are HTML tags just anything in between <html> and </html> ?
So should i be modifying the menu or the default.asp?
I'm being really thick here (HTML and Web stuff is not my speciality) but are HTML tags just anything in between <html> and </html> ?
So should i be modifying the menu or the default.asp?

In essence, an HTML tag (or "element") is a word enclosed in angled brackets.
The <html> is just the starting tag saying that the document is an HTML page, and is ended with the </html> tag.
Each page has a structure, basically:
Everything between the <head> and </head> aren't displayed on the actual page, but can affect it's look and functionality (such as styles and title etc).Code:<html> <head> ... </head> <body> ... </body> </html>
Since your pages already have the HTML tags in them, they shouldn't be declared again when you "include" the menu. All you are doing is injecting the contents of menu.html into the page when it is loaded.
As the menu doesn't need to be loaded on its own it doesn't need the HTML, head and body tags.
Thanks webman, deleted what you said and it works nowI've stopped smashing things in my office now.
I wish I'd seen this thread a few months ago, or I'd started it. This is just what I need.
I manage a modest web site for our local CAMRA branch, but it's a real pain putting the same heading, menu and footer on each page and managing them. I always wondered how professionals did it. Viewing the code for others' pages just shows the one html file, like the menu had been put there manually.
I've just learnt CSS. Looks like it's time to start on PHP, and upgrade the hosting.![]()

Good to hear you got it sorted... site's looking quite good by the way
Simple server-side templating works wonders![]()
Forget my response im being thick.
matt
There are currently 1 users browsing this thread. (0 members and 1 guests)