more IE friendly...
authorx2000habouzit <x2000habouzit>
Mon, 30 Aug 2004 10:00:33 +0000 (10:00 +0000)
committerx2000habouzit <x2000habouzit>
Mon, 30 Aug 2004 10:00:33 +0000 (10:00 +0000)
well less IE non-freiadnly at least

htdocs/css/default.css
templates/skin/common.devel.tpl

index 1c317a3..e667aea 100644 (file)
@@ -344,32 +344,20 @@ div.item div.value { }
 *******************************************************************************/
 
 #dev {
-    top     : 32px;
-    right   : 14px;
-    width   : 128px;
-    z-index : 1;
+    width: 100%;
+    text-align: center;
+    padding: 1px;
 
     color: #003399;
     background: #e0ffff;
-    border: 1px dashed #003399;
 
     font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif;
     font-size: 10pt;
     font-weight: bold;
-    behavior: "\"}"; /* ugly hack, but IE sucks */
-    position: fixed;
 }
 
-#dev div { padding: 3px; }
-#dev .title {
-    text-align: center;
-    font-size: larger;
-    text-decoration: underline;
-}
-#dev a:hover {
-    color: inherit;
-    background: #c0e0e0;
-}
+#dev a { text-decoration: underline; }
+#dev a:hover { color: #003399; background: #c0e0e0; }
 
 #db-trace div.hide       { display: none; }
 #db-trace:hover div.hide { display: block }
@@ -458,4 +446,4 @@ div.item div.value { }
 }
 
 /* vim: set et ts=4 sts=4 sw=4: */
-/* $Id: default.css,v 1.34 2004-08-30 09:14:49 x2000habouzit Exp $ */
+/* $Id: default.css,v 1.35 2004-08-30 10:00:33 x2000habouzit Exp $ */
index e393f8e..94d7bca 100644 (file)
@@ -1,18 +1,4 @@
-{* $Id: common.devel.tpl,v 1.3 2004-08-25 08:59:18 x2000habouzit Exp $ *}
-
-{if $validate}
-  <div id="dev">
-    <div class="title">Outils de dev</div>
-    <div>
-      @NB_ERR@
-      <a href="http://jigsaw.w3.org/css-validator/validator?uri={$validate}">VALIDER CSS</a>
-    </div>
-    <div>
-      <a href="http://www.w3schools.com/xhtml/xhtml_reference.asp">XHTML ref.</a><br />
-      <a href="http://www.w3schools.com/css/css_reference.asp">CSS2 ref.</a>
-    </div>
-  </div>
-{/if}
+{* $Id: common.devel.tpl,v 1.4 2004-08-30 10:00:33 x2000habouzit Exp $ *}
 
 {dynamic}
 {if $db_trace neq "\n\n"}
     </div>
   </div>
 {/if}
+
+{if $validate}
+  <div id="dev">
+    Validation :
+    @NB_ERR@
+    <a href="http://jigsaw.w3.org/css-validator/validator?uri={$validate}">CSS</a>
+    &nbsp;&nbsp;|&nbsp;&nbsp;
+    références :
+    <a href="http://www.w3schools.com/xhtml/xhtml_reference.asp">XHTML</a>
+    <a href="http://www.w3schools.com/css/css_reference.asp">CSS2</a>
+  </div>
+{/if}
 {/dynamic}
 
 {* vim:set et sw=2 sts=2 sws=2: *}