Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:13

different opening position of submenu in FF and IE


Poster: pbarrett
Dated: Friday February 17 2006 - 15:58:24 GMT

I'm a newbie at using these menus so this problem may be easily solved.
I have an image based menu (one image, multiple area defined links), currently I'm using the image based popup menu. When I try to position whre the submenu opens by offsetting the top, left defaults, there seems to be a discrepancy between the position if Firefox and IE. Do i need to imbed the menu in a table? would that solve this?

The example is at http://www.khidma.org/index.php
The first two drop down menues are offset, the rest are positioned based on mouse location. I'd like to move them away from mouse based, though first i need to solve the ie/ff difference.
Any input is appreciated


Poster: vikenk
Dated: Saturday February 18 2006 - 3:42:58 GMT

Hi,

The first thing to start with is a valid DOCTYPE in your website. You have not declared a doctype, therefore, any chance of cross-browser compatibility almost goes out the door.

Declaring a full, valid doctype forces browsers into "standards compliant" mode. With no doctype, browsers (especially IE) will remain in their "quirks mode" and will likely not render similarly. Put this before your initial <html> tag, at the very top of your page:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

Let us know how it works.


Poster: John
Dated: Monday February 20 2006 - 14:49:49 GMT

Another thing to do is get away from fontsize="100%". Use fontsize="10px" (or whatever). Much better cross-platform compatibility.