Not conform XHTML 1.0 Strict

Post your questions and problem reports here.

Not conform XHTML 1.0 Strict

Postby mhf » Tue Jun 10, 2008 5:32 pm

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.
mhf
 
Posts: 10
Joined: Wed Feb 06, 2008 10:10 am

Re: Not conform XHTML 1.0 Strict

Postby Cary » Wed Jun 11, 2008 3:06 am

Just delete the name attribute. I did a test without the name attributes and everything still worked fine.
Cary
 
Posts: 82
Joined: Mon May 28, 2007 10:41 pm

Re: Not conform XHTML 1.0 Strict

Postby mhf » Wed Jun 11, 2008 9:29 am

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

Thanks.
mhf
 
Posts: 10
Joined: Wed Feb 06, 2008 10:10 am

Re: Not conform XHTML 1.0 Strict

Postby Karlis » Wed Jun 11, 2008 10:08 pm

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
User avatar
Karlis
Site Admin
 
Posts: 3600
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe

Re: Not conform XHTML 1.0 Strict

Postby mhf » Wed Jun 11, 2008 10:27 pm

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

Postby mhf » Thu Jun 12, 2008 12:36 am

: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. :)
mhf
 
Posts: 10
Joined: Wed Feb 06, 2008 10:10 am


Return to Easy Button & Menu Maker Support

Who is online

Users browsing this forum: No registered users and 5 guests

cron