Fixed CSS in the navigation menu in IE. This uses the "* html selector"
[cocanwiki.git] / html / _css / standard.css
index c53955f..dad0159 100644 (file)
@@ -1,5 +1,5 @@
 /* Stylesheet for COCANWIKI.
- * $Id: standard.css,v 1.12 2004/10/09 15:46:29 rich Exp $
+ * $Id: standard.css,v 1.15 2004/10/16 12:12:47 rich Exp $
  */
 
 body {
@@ -281,6 +281,57 @@ div#form_div p.edit_link {
   display: none;
 }
 
+/* Navigation area.
+ * The navigation_space_div reserves the space for the div and appears
+ * at the beginning of the page (but is empty).
+ */
+div#navigation_space_div {
+  float: right;
+  width: 10em;
+  height: 22em;
+  border: 1px solid #ccc;
+  background: #fff;
+  margin-left: 1em;
+}
+
+div#navigation_div {
+  position: absolute;
+  right: 1em;
+  top: 6em;
+  width: 10em;
+  height: 22em;
+}
+
+div#navigation_div h2 {
+  font-size: 70%;
+  position: relative;
+  top: -1.5em;
+  left: 1.5em;
+  border: 1px solid #ccc;
+  padding-top: 2px;
+  background: #fff;
+  display: inline;
+}
+
+div#navigation_div h3 {
+  margin-left: 1em;
+  margin-top: -0.5em;
+  font-size: 70%;
+}
+
+div#navigation_div ul {
+  font-size: 70%;
+  margin-top: -1em;
+  margin-left: -1em;
+}
+
+/* The "* html" causes this rule to only be applied to IE 5/6. */
+* html div#navigation_div li {
+  line-height: 1.2em;
+  margin-left: 3em;
+  padding-left: 0px;
+}
+
 /* Calendar extension. */
 table.cal_month {
   border-collapse: collapse;
@@ -448,6 +499,8 @@ table.cal_day a.cal_day_right {
 
   /* Hide the navigation. */
   div#search_div { display: none; }
+  div#navigation_div { display: none; }
+  div#navigation_space_div { display: none; }
   ul#topmenu { display: none; }
   div#menu_div { display: none; }
   p.edit_link { display: none; }