There is also a Problem with the 20px in IE6 when u use another
padding:
if (isIE) {
$("#fancy_content")[0].style.setExpression
('height', '(this.parentNode.clientHeight - 20)');
$("#fancy_content")[0].style.setExpression
('width', '(this.parentNode.clientWidth - 20)');
}
You have to make the var flexible with the pad-amount. This should
work:
if (isIE) {
$("#fancy_content")[0].style.setExpression
('height', '(this.parentNode.clientHeight - '+(pad*2)+')');
$("#fancy_content")[0].style.setExpression
('width', '(this.parentNode.clientWidth - '+(pad*2)+')');