weird weird ie-thing

I was using jscalendar in a form. The form is inside a div which is inside another div, etc. Each div had modifiers for position. It was showing nicely on ie, ie mac and firefox, everything as expected.
But when adding the calendar the party started! IE decided to move the calendar to the right. Hum... always on the same position... then after the weekend I have had the magic idea: it was not calculating the final position after all the nested divs. Current position was the one without the margin of the new div. So I assigned position:static to the container div and whops! now the calendar div appears in the right size.
Those oddities in a deadline-stressed mode are nightmares!