Universal CSS Navigation Menu Support Product Page

valid html code problem

13 years ago 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 12 years ago
12 years ago 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 12 years ago
12 years ago 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