i solved the problem by loading the first li tag with its content so i could get its height value and append it to the other li's tags. Next i hide the first li again and then continue with my normal load
Now the browser always gets the correct height value for the li tags