W3C Validation
- bobfromtheband
- Beginner
- Posts: 5
- Joined: Sat Sep 02, 2006 5:46 pm
- Location: Wickford, Essex. England.
- Contact:
W3C Validation
Hi all,
I do apologise if this subject has been covered previously (I have checked but found nothing).
I have failed a Validation test at w3c for the web site below with the errors described below that.
As you can see, the three errors are all to do with the <href that I had to insert from 'Milonic' as a free charitable user.
Is there anything that I can do or should I contact 'Milonic' with this problem.
http://tnf.org.uk/members/navbartest1private.php (is the site in question)
-----------------------------------------------------------------------------------
This page is not Valid XHTML 1.0 Transitional!
Below are the results of checking this document for XML well-formedness and validity.
Error Line 194 column 75: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified.
...ign="center" valign="middle"><a href=http://milonic.com/>JavaScript DHTML
✉
Error Line 194 column 81: NET-enabling start-tag not immediately followed by null end-tag.
...enter" valign="middle"><a href=http://milonic.com/>JavaScript DHTML Menu
This error may occur when there is a mistake in how a self-closing tag is closed, e.g '.../ >'. The proper syntax is '... />' (note the position of the space).
✉
Error Line 194 column 142: end tag for element "a" which is not open.
...ript DHTML Menu Powered by Milonic</a></td>
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
If this error occured in a script section of your document, you should probably read this FAQ entry.
I would appreciate any advice and help that anyone can give.
bobfromtheband (new user)
I do apologise if this subject has been covered previously (I have checked but found nothing).
I have failed a Validation test at w3c for the web site below with the errors described below that.
As you can see, the three errors are all to do with the <href that I had to insert from 'Milonic' as a free charitable user.
Is there anything that I can do or should I contact 'Milonic' with this problem.
http://tnf.org.uk/members/navbartest1private.php (is the site in question)
-----------------------------------------------------------------------------------
This page is not Valid XHTML 1.0 Transitional!
Below are the results of checking this document for XML well-formedness and validity.
Error Line 194 column 75: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified.
...ign="center" valign="middle"><a href=http://milonic.com/>JavaScript DHTML
✉
Error Line 194 column 81: NET-enabling start-tag not immediately followed by null end-tag.
...enter" valign="middle"><a href=http://milonic.com/>JavaScript DHTML Menu
This error may occur when there is a mistake in how a self-closing tag is closed, e.g '.../ >'. The proper syntax is '... />' (note the position of the space).
✉
Error Line 194 column 142: end tag for element "a" which is not open.
...ript DHTML Menu Powered by Milonic</a></td>
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
If this error occured in a script section of your document, you should probably read this FAQ entry.
I would appreciate any advice and help that anyone can give.
bobfromtheband (new user)
Robert W Grieve
Hi,
In that tag area put this
But, you also need to do something about the top tags, I think you need cdata?
I'm not up on xhtml so maybe it ignores things to do with vAlign and align, but just for info, those are backwards in some places. i.e. you have vAlign="center": and align="middle"; vAlign takes only top, middle, bottom, and align uses left, center, right.
If you still have problems look at your page on my site which does validate. Of course the links to files are different since they are on my site, but everything else is the same [except it's not php]
EDIT: link removed
Let me know when you get this so I can remove your files from my site.
Ruth
In that tag area put this
Code: Select all
<a href="http://websites.milonic.com/milonic.com/'>JavaScript DHTML Menu Powered by Milonic.com</a>
Code: Select all
<script type="text/javascript" src="milonic_src.js"></script>
<noscript><a href="https://milonic.com/">JavaScript Menus and DHTML Menus Powered by Milonic</a></noscript>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
if(ns4)_d.write("<scr"+"ipt language='JavaScript' src='mmenuns4.js'><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language='JavaScript' src='mmenudom.js'><\/scr"+"ipt>");
//--><!]]>
</script>
<script type="text/javascript" src="menu_data.js"></script>
If you still have problems look at your page on my site which does validate. Of course the links to files are different since they are on my site, but everything else is the same [except it's not php]
EDIT: link removed
Let me know when you get this so I can remove your files from my site.
Ruth
Last edited by Ruth on Mon Oct 16, 2006 6:30 am, edited 1 time in total.
- bobfromtheband
- Beginner
- Posts: 5
- Joined: Sat Sep 02, 2006 5:46 pm
- Location: Wickford, Essex. England.
- Contact:
w3c Validation
Hi Ruth,
Your a bit of a wiz at this arent you. Ive no idea how you've done it but it Validates using your link but it didn't when I did what you suggested I do with the top code on my link.
Still, whatever you did I thank you dearly and so do all those who use the site.
Now, do you think that I could somehow copy the page from your site to update mine?
Thank you and again, thank you.
Bobfromtheband.
Your a bit of a wiz at this arent you. Ive no idea how you've done it but it Validates using your link but it didn't when I did what you suggested I do with the top code on my link.
Still, whatever you did I thank you dearly and so do all those who use the site.
Now, do you think that I could somehow copy the page from your site to update mine?

Thank you and again, thank you.
Bobfromtheband.
Robert W Grieve
Hi,
Sure, you can just view source copy and paste, however I think your problem is the link back to Milonic which you didn't change
on my page it is
note the single quotes, maybe you could even use double quotes, I didn't try that. The only reason I put in Milonic dot com in the text is that for some reason in very, very rare instances the menu puts in the forced link if the dot com is not there, I've never been able to figure out why, but having that seems to prevent it.
Ruth
Sure, you can just view source copy and paste, however I think your problem is the link back to Milonic which you didn't change
Code: Select all
<a href="http://websites.milonic.com/milonic.com/>JavaScript DHTML Menu Powered by Milonic</a>
Code: Select all
<a href="http://websites.milonic.com/milonic.com/'>JavaScript DHTML Menu Powered by Milonic.com</a>
Ruth
- bobfromtheband
- Beginner
- Posts: 5
- Joined: Sat Sep 02, 2006 5:46 pm
- Location: Wickford, Essex. England.
- Contact:
w3c Validation
Hi again Ruth,
I am so pleased that Milonic has a friend like you because, the code I used was copied and pasted directly from the Milonic's own instruction page.
I have made the changes that you advised and it works perfectly now.
Thank you, thank you and thrice thank you.
Oh and I love your web site, it's so full of information too. Definately worth a regular visit I think.
Fond regards,
Bobfromtheband.
I am so pleased that Milonic has a friend like you because, the code I used was copied and pasted directly from the Milonic's own instruction page.
I have made the changes that you advised and it works perfectly now.
Thank you, thank you and thrice thank you.
Oh and I love your web site, it's so full of information too. Definately worth a regular visit I think.
Fond regards,
Bobfromtheband.
Robert W Grieve
- bobfromtheband
- Beginner
- Posts: 5
- Joined: Sat Sep 02, 2006 5:46 pm
- Location: Wickford, Essex. England.
- Contact:
Lost Menu
Dear Ruth,
My apologies’ for troubling you again, (you thought you had sorted me out) but I have a new problem that I wondered if you could help me with.
I have requested and received a free licence from Milonic for the inclusion of their DD Menu. Since installing the new code and the new files I no longer have a visible menu.
Would it be possible for you to download my test page again and see where they or I have gone wrong?
I would thoroughly understand if you haven’t got time for me but would be most appreciative if you have.
The test page is: - http://www.tnf.org.uk/members/navbartest1private.php
Thank you in anticipation Ruth.
Regards,
Bobfromthrband (Talking News Federation)
My apologies’ for troubling you again, (you thought you had sorted me out) but I have a new problem that I wondered if you could help me with.
I have requested and received a free licence from Milonic for the inclusion of their DD Menu. Since installing the new code and the new files I no longer have a visible menu.
Would it be possible for you to download my test page again and see where they or I have gone wrong?
I would thoroughly understand if you haven’t got time for me but would be most appreciative if you have.
The test page is: - http://www.tnf.org.uk/members/navbartest1private.php
Thank you in anticipation Ruth.
Regards,
Bobfromthrband (Talking News Federation)
Robert W Grieve
Hi,
Don't worry about it, that's why we volunteer, we like to help
Your source code seems to show two calls for the 3 base milonic files and one for the menu data.js file and that call is before the others which will not work. That has to come last. This is what I see in the view source using both IE and FF
1. The menu_data.js file must be called after the other 3 files.
2. Make sure you have the correct paths for the files. The top paths seem to have the files there, the one with the ../Template part in it doesn't seem to be correct as to where the file is, but it is correct as to how it is coded.
3. Use that second set and put in the correct path for the milonic_src, mmenudom.js, mmenuns4.js and add after those 3 calls
Remove the other calls in the head, and that should fix it.
Ruth
Don't worry about it, that's why we volunteer, we like to help

Your source code seems to show two calls for the 3 base milonic files and one for the menu data.js file and that call is before the others which will not work. That has to come last. This is what I see in the view source using both IE and FF
Code: Select all
<head>
<!-- InstanceBeginEditable name="metatags" -->
<link href="../bob.css" type="text/css" rel="stylesheet" />
<!-- InstanceEndEditable --><!-- InstanceBeginEditable name="title" -->
<title>TNF Private Members Home Page</title>
<!-- InstanceEndEditable --><!-- InstanceBeginEditable name="head" -->
<style type="text/css">
</style>
<!-- InstanceEndEditable -->
<script type="text/javascript" src="menu_data.js"></script>
<script type="text/javascript" src="milonic_src.js"></script>
<script type="text/javascript" src="mmenudom.js"></script>
<script type="text/javascript" src="mmenuns4.js"></script>
<link href="../bob.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<script type="text/javascript" src="../Templates/milonic_src.js"></script>
<noscript><a href="https://milonic.com/">JavaScript Menus and DHTML Menus Powered by Milonic</a></noscript>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
if(ns4)_d.write("<scr"+"ipt language='JavaScript' src='mmenuns4.js'><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language='JavaScript' src='mmenudom.js'><\/scr"+"ipt>");
//--><!]]>
</script>
2. Make sure you have the correct paths for the files. The top paths seem to have the files there, the one with the ../Template part in it doesn't seem to be correct as to where the file is, but it is correct as to how it is coded.
3. Use that second set and put in the correct path for the milonic_src, mmenudom.js, mmenuns4.js and add after those 3 calls
Code: Select all
<script type="text/javascript" src="menu_data.js"></script>
Ruth
- bobfromtheband
- Beginner
- Posts: 5
- Joined: Sat Sep 02, 2006 5:46 pm
- Location: Wickford, Essex. England.
- Contact:
Thank you Ruth.
Dear Ruth,
You are my heroine. I cannot shout your praise enough.
Thank you, thank you and again thrice thank you!!!
Fond Regards,
bobfromtnf
You are my heroine. I cannot shout your praise enough.
Thank you, thank you and again thrice thank you!!!
Fond Regards,
bobfromtnf

Robert W Grieve