coal/paper: fixed box via an expression for IE < 7
authorrubik <ribik@sina.com>
Wed, 06 Aug 2008 17:19:14 -0500
changeset 6864 105d8676a688
parent 6863 d78d0f9783b8
child 6866 0ff5d2bbd8b1
coal/paper: fixed box via an expression for IE < 7
templates/static/style-coal.css
templates/static/style-paper.css
--- 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;