Pops wrote:
I have a tree with I noticed that when the UL are collapsed,  with IE
there is "visible space" where with FF there is none.

The solution for me was to add logic in my initialization code:

function prepareTree(idTree)
{
 ...
   //--------------------------------
   // IE Needs this to remove "white space" when UL are hidden.
   if (jQuery.browser.msie) {
      $(idTree+" a").height("0px");
   }
   //--------------------------------
 ...
}

When you do this, IE works fine now.  Opera, FF and KMeleon don't need
this.

Explanation?

Maybe there is no explanation and it's one of IE's CSS specialties.

Sometimes triggering hasLayout helps.
http://www.satzansatz.de/cssd/onhavinglayout.html
http://msdn2.microsoft.com/en-us/library/ms533776.aspx


--Klaus

Reply via email to