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:47
hard space appears different on mozilla firefox.
Poster: quizer
Dated: Sunday April 17 2005 - 9:09:47 BST
Code:
with(milonic=new menuname("products")){
style=menuStyle;
itemwidth=250;
aI("text=\"hello\"- world;url=test1.asp;");
aI("text= ;url=test2.asp;");
}
style=menuStyle;
itemwidth=250;
aI("text=\"hello\"- world;url=test1.asp;");
aI("text= ;url=test2.asp;");
}
the menustyle- is the default one.
the itemheight value is omitted and appears diferent on mozilla firefox 1.0.1
than on IE 6.0.
the IE using the "hello world" line height on the hard space line, but firefox using only the (up/down) padding as the line height. Hope that it will b fixed in the next versions.
Poster: Ruth
Dated: Sunday April 17 2005 - 16:13:04 BST
If you want to guarantee that they are the same height, you should specify an item height. However, if you place a non-breaking line space after the text= in the second item,
Code:
aI("text= ;url=test2.asp;");
Firefox 1.0.2 then increases the height to the same as IE. Most likely Firefox 1.0.1 will do the same.
Ruth