View Full Version : CSS menu shows extra text

01-28-2009, 02:51 PM
I"m making a master menu using css but when viewed in FF I have
[b/] showing on the screen (or something very similar - it's almost hidden.
I have added
include 'menu.html';
to in the Before Tag on each page.
What am I doing wrong?



Karen Mac
01-28-2009, 06:50 PM
Because you have copied and pasted this into your HEAD tags on page html

[b]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
That is at the TOP of the html document and you somehow picked it up in your css menu too.


01-28-2009, 07:59 PM
That is in the html of my page, but I don't believe I put it there. When I go into Page HTML I see it but it doesn't show under any of the tabs. and I don't know how to delete it. I opened a new page and that same thing shows in Page HTML before I do anything to the new page.
This is what it reads:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Untitled Page</title>
<meta name="GENERATOR" content="Created by BlueVoda">
<body bgcolor="#FFFFFF" text="#000000">
How do I eliminate it? Or perhaps I should ask what I have messed up?

Karen Mac
01-28-2009, 08:49 PM
well. .it looks like you viewed source and copied that snippet along with your css codes. Its on the page twice. If you did an external style sheet.. check in there to see if you somehow placed it in there.

Its supposed to be on the BEGINNING of a page...check the text box where you bolded the heading and see if it got snapped in there. I think its in your menu php tho.. in the html box, or the include


01-28-2009, 11:14 PM
I believe I have it.
There were two guides on here for creating the 'one-menu* update (master menu?). One showed the code to be:
include 'menu.html';
(well, it won't show here, but there was [b] at the first and [b/] at the end

and one showed
include 'menu.html';

I used the first one and that code generated the extra text. So I changed the code and I don't see it now. Whew!



Karen Mac
01-28-2009, 11:20 PM
awwwwww.. little hint.

Get in the habit when copy and pasting from forums, web pages etc to first paste to notepad. Then you can see eroneous codes and remove them if they exist...most the time notepad renders the text only. Then copy and paste coding to your web builder.


01-28-2009, 11:35 PM
You know, I normally do with I'm copying quite a bit of text but don't when it's simple and quick. But I will now.
However, the problem remains that I probably wouldn't know if it was erroneous or not.
But I keep chugging along.

I have another question but I'll start a new thread.
Thanks for the help.