diff --git a/css/cms_right.css b/css/cms_right.css index 53ddf6ec..8201b02b 100644 --- a/css/cms_right.css +++ b/css/cms_right.css @@ -397,7 +397,7 @@ input.loading { border: 1px #AAA solid; border-top: none; position: relative; - top: -3px; + top: 0px; margin: 0; padding: 10px; /*width: 98%;*/ @@ -878,4 +878,10 @@ div.CommentFilter { position: relative; top: -15px; left: 35px; +} +/* Makes room for AJAX Action buttons */ +#right { + padding-bottom: 20px; + /* HACK: any IE */ + padding-bottom: expression('35px'); } \ No newline at end of file diff --git a/javascript/LeftAndMain.js b/javascript/LeftAndMain.js index 9ca6e5d3..aa55d739 100644 --- a/javascript/LeftAndMain.js +++ b/javascript/LeftAndMain.js @@ -138,11 +138,19 @@ window.onresize = function(init) { if(typeof fitToParent == 'function') fitToParent('right', 12); - if( $('left') && $('separator') && right ) - $('left').style.height = $('separator').style.height = right.style.height; + if( $('left') && $('separator') && right ) { + // #right has padding-bottom to make room for AJAX Action buttons so we need to add that + if (navigator.appName == "Microsoft Internet Explorer") { + var paddingBottomOffset = 35; + } else { + var paddingBottomOffset = 20; + } + var rightH = parseInt(right.style.height) + paddingBottomOffset; + $('left').style.height = $('separator').style.height = rightH + 'px'; + } if(rightbottom) { - var newHeight = (parseInt(right.style.height) / 3); + var newHeight = rightH / 3; right.style.height = (newHeight*2) + 'px'; rightbottom.style.height = newHeight + 'px'; rightbottom.style.display = '';