Hello,

recently I have to resolve a brain-braker problem :

var el = new Element('div');
...
el.setStyles({
    ....
    'height': 5,
    ....
}

and IE 9 set the height to 18 pixels instead of 5 pixels

So to resolve the problem : set the font-size to 1, and so IE 9 will
not change the height

el.setStyles({
    ...
    'font-size':1,
     'height': 5,
    ....
}

hope this helps

Philippe Lambotte

Reply via email to