Not conform XHTML 1.0 Strict

Post your questions and problem reports here.
Post Reply
mhf
Posts: 10
Joined: Wed Feb 06, 2008 10:10 am

Not conform XHTML 1.0 Strict

Post by mhf »

Hello,

Unfortunately, my first menu made with EBMM v1.2 Pro is not conform XHTML 1.0 Strict (my web page is conform).

Error displayed by w3c validator:
- there is no attribute "name".
- there is no attribute "border".

"border" is not a problem, I have replaced:

Code: Select all

style="vertical-align: bottom;" border="0"
by:

Code: Select all

style="vertical-align: bottom; border: 0;"
But, for the tag "name" I haven't found a solution! I need help!

Thank you.
Last edited by mhf on Wed Jun 11, 2008 9:30 am, edited 1 time in total.
Cary
Posts: 82
Joined: Mon May 28, 2007 10:41 pm

Re: Not conform XHTML 1.0 Strict

Post by Cary »

Just delete the name attribute. I did a test without the name attributes and everything still worked fine.
mhf
Posts: 10
Joined: Wed Feb 06, 2008 10:10 am

Re: Not conform XHTML 1.0 Strict

Post by mhf »

Thank you Cary, but, if I delete the tag "name" the style "Mouse Over" and "Pushed Down" don't work.
Another idea?

Thanks.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Not conform XHTML 1.0 Strict

Post by Karlis »

This is necessary for the compatibility with older web browsers. You can use Transitional if you are big fan of HTML validation.

Also you can unchecked "Use Table tags" and generate menus based on UL tags. Maybe that helps?
Karlis Blumentals
Blumentals Software
www.blumentals.net
mhf
Posts: 10
Joined: Wed Feb 06, 2008 10:10 am

Re: Not conform XHTML 1.0 Strict

Post by mhf »

Karlis,
Problem in both cases (UL and Table)
Last edited by mhf on Thu Jun 12, 2008 12:37 am, edited 2 times in total.
mhf
Posts: 10
Joined: Wed Feb 06, 2008 10:10 am

Re: Not conform XHTML 1.0 Strict

Post by mhf »

:idea: I think that I found a solution:

- create a menu normally in EBMM
- save the menu as html
- open the generated html file and copy/paste the menu <ul>...</ul> into a new .js file (example: menu.js):

content of menu.js:

Code: Select all

document.write('THE MENU GENERATED BY EBMM');
and then in my web page, I call the menu (menu.js) and the .js generated by EBBM :

Code: Select all

<script type="text/javascript" src="menu.js"></script> 
<script type="text/javascript" src="cbjscbmenu.js"></script>
With this solution, the menu work correctly and the web page stay conform xhtml strict 1.0 :wink:

Karlis, If you agree this solution, please, can you as soon as possible build a special release of EBMM Pro :?: because it's to difficult to manually edit all menus... simply add a possibility to save as .js

Thank you. :)
Post Reply