dhtml menu builder + opera - Page 2

User 36848 Photo


Registered User
77 posts

You should use Cary's recommendation.
PHP is used to generate the appropriate HTML; PHP doesn't care what it sends. The HTML that you send is interpreted by the browser and depending on the <!DOCTYPE > tag (most of the time) the browser will interpret some elements in a slightly different way.
User 248003 Photo


Trial User
7 posts

If I use doctype in php there are more and more problems: in Opera the menu shifts right, in Firefox the menu is not visibled and only in IE the menu is correct.

look this http://www.supermix01.altervista.org/chisiamo.php

HELP ME THIS ISN'T MY JOB, I'M A LAB TECHNICIAN AND I'M DOING THIS FOR HELP THE JOB OF MY FATHER
User 36848 Photo


Registered User
77 posts

The simplest solution is to NOT use a <!DOCTYPE> This way you will be serving pages that do not validate as HTML but that is the way the Menu editor was designed.

IF you want to serve valid HTML pages (i.e. using a valid <!DOCTYPE> )you will need to use the modified dhtml.dat that Cary indicated.

Rafael
User 248003 Photo


Trial User
7 posts

Ok now open the page with IE .... look the border ... how can i do?
User 36848 Photo


Registered User
77 posts

I am looking at it in Firefox and IE7 and the menu looks the same to me. The position and height of the table, however, is different in Firefox and MSIE.

The tip you mention in your page (changes to LftXtra and TpXtra) is intended only for the case where you use a valid DOCTYPE, and if you use that you need the replacement menu code mentioned above, so don't bother.


Rafael

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.