Universal CSS Navigation Menu Support Product Page

valid html code problem

Asked 05 Apr 2012 15:27:56
1
has this question
05 Apr 2012 15:27:56 Chrisopher Hills posted:
An empty <span> in the Navigation Menu code fails the html validation test in my menu.
An example is at www.cicero.co.uk/english/Adults/Accommodation_new.php
for which html validator shows 10 warnings, each of them an empty <span> in the navigation menu.
Can this be avoided? Any tips will be very welcome!

Replies

Replied 09 Apr 2012 06:03:42
09 Apr 2012 06:03:42 Teodor Kuduschiev replied:
Hello Christpher,

The

<span class="sub_right"></span>
and
<span class="sub_down"></span>
are needed for your main menu items. The sub_down class shows a down arrow and the sub_right class shows a right arrow.
Replied 10 Apr 2012 09:18:10
10 Apr 2012 09:18:10 Chrisopher Hills replied:
Thanks Teodor. I understand the reason for this, the problem is that the resulting code is an empty <span> tag which is not valid W3C code. Having got our entire site "HTML Tidy", we now have warnings on every page because we are using Universal CSS Navigation Menu!

Reply to this topic