# HG changeset patch # User rubik # Date 2008-08-06 22:19:14 # Node ID 105d8676a688a50fcf82b9ee781d97ea833a9133 # Parent d78d0f9783b842e610a0af58e391d3326ccf1384 coal/paper: fixed box via an expression for IE < 7 diff --git a/templates/static/style-coal.css b/templates/static/style-coal.css --- a/templates/static/style-coal.css +++ b/templates/static/style-coal.css @@ -17,6 +17,10 @@ body { border-bottom: 15px solid black; } +#.main { + width:98%; +} + .overflow { width: 100%; overflow: auto; @@ -35,6 +39,11 @@ body { right: 27px; } +#.menu { + position: absolute !important; + top:expression(eval(document.body.scrollTop + 27)); +} + .menu ul { list-style: none; padding: 0; diff --git a/templates/static/style-paper.css b/templates/static/style-paper.css --- a/templates/static/style-paper.css +++ b/templates/static/style-paper.css @@ -15,6 +15,10 @@ body { padding: 2em 2em 2em 0; } +#.main { + width: 98%; +} + .overflow { width: 100%; overflow: auto; @@ -31,6 +35,12 @@ body { right: auto; } +#.menu { + position: absolute !important; + top:expression(eval(document.body.scrollTop + 27)); +} +} + .menu ul { list-style: none; padding: 0;