hard space appears different on mozilla firefox.

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
quizer
Beginner
Beginner
Posts: 7
Joined: Tue Mar 08, 2005 2:46 pm

hard space appears different on mozilla firefox.

Post by quizer »

Code: Select all

with(milonic=new menuname("products")){
  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.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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: Select all

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
Post Reply