Mercurial > hg
changeset 6864:105d8676a688
coal/paper: fixed box via an expression for IE < 7
author | rubik <ribik@sina.com> |
---|---|
date | Wed, 06 Aug 2008 17:19:14 -0500 |
parents | d78d0f9783b8 |
children | 0ff5d2bbd8b1 |
files | templates/static/style-coal.css templates/static/style-paper.css |
diffstat | 2 files changed, 19 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/static/style-coal.css Wed Aug 06 15:08:18 2008 -0700 +++ b/templates/static/style-coal.css Wed Aug 06 17:19:14 2008 -0500 @@ -17,6 +17,10 @@ border-bottom: 15px solid black; } +#.main { + width:98%; +} + .overflow { width: 100%; overflow: auto; @@ -35,6 +39,11 @@ right: 27px; } +#.menu { + position: absolute !important; + top:expression(eval(document.body.scrollTop + 27)); +} + .menu ul { list-style: none; padding: 0;
--- a/templates/static/style-paper.css Wed Aug 06 15:08:18 2008 -0700 +++ b/templates/static/style-paper.css Wed Aug 06 17:19:14 2008 -0500 @@ -15,6 +15,10 @@ padding: 2em 2em 2em 0; } +#.main { + width: 98%; +} + .overflow { width: 100%; overflow: auto; @@ -31,6 +35,12 @@ right: auto; } +#.menu { + position: absolute !important; + top:expression(eval(document.body.scrollTop + 27)); +} +} + .menu ul { list-style: none; padding: 0;