diff --git a/parts/menuResize.js b/parts/menuResize.js index adde643..0044fb8 100644 --- a/parts/menuResize.js +++ b/parts/menuResize.js @@ -2,12 +2,6 @@ var columnIDs; function init () { - // this may be called twice - if (arguments.callee.done) - return; - - arguments.callee.done = true; - setHeight ('menu', columnIDs); } @@ -44,12 +38,12 @@ function setHeight (myTarget, columns) { // determine the maximum height out of all columns specified for (i = 0; i < divs.length; i++) { if (maxHeight < divs[i].offsetHeight) { - maxHeight = divs[i].offsetHeight; + maxHeight = divs[i].offsetHeight + 2; } } // set the target column to that maximum height - targetID.style.height = maxHeight + 2 + 'px'; + targetID.style.height = maxHeight + 'px'; } } diff --git a/parts/topmain.php b/parts/topmain.php index 577836e..12d6c18 100644 --- a/parts/topmain.php +++ b/parts/topmain.php @@ -35,6 +35,6 @@ } ?> -
> +

diff --git a/screenshots.php b/screenshots.php index f936ab9..3ff883f 100644 --- a/screenshots.php +++ b/screenshots.php @@ -7,7 +7,7 @@ function screenshot ($name, $caption) { echo '

' - .'

View at full size

' + .'
View at full size

' . $caption .'

'; } diff --git a/styles/quakeforge/level1.css b/styles/quakeforge/level1.css index 218126e..24cca67 100644 --- a/styles/quakeforge/level1.css +++ b/styles/quakeforge/level1.css @@ -223,12 +223,6 @@ IMG.screenshot { padding: 2px; } -.narrow#topMain { - margin-right: 142px; /* features width + 2px */ - - _margin-right: 2px; -} - #topMain H2 { border-bottom: 2px solid white;