Clean "bandeau" code (Eurk !)
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 11 Dec 2006 23:44:41 +0000 (23:44 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 11 Dec 2006 23:44:41 +0000 (23:44 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1266 839d8a87-29fc-0310-9880-83ba4fa771e5

templates/skin/common.bandeau.head.tpl
templates/skin/common.bandeau.tpl

index f762c32..79bb06b 100644 (file)
 {literal}
     <!-- BANDEAU DEBUT -->
     <style type="text/css">
-      body          { margin: 0 0 0 0; }
-      table.ligne   { background: #e7e7e7; color: inherit; }
-      td.ligne      { width: 100%; }
-      td.xdx {
-        color: #000; padding: 0; background: #CCCCCC ; height: 14px; width: auto; font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif;
+      body { margin: 0; }
+      table.xdx {
+        background: #CCCCCC;
+        color: #000;
+        font-size: 10px;
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        width: 100%;
+        height: 14px;
+        border: none;
+        padding: 0;
+        margin: 0;
       }
-      td.xdx img    {border: 0; padding: 0; margin: 0; }
-      a.xdx         { vertical-align: bottom; color: #505050; background: inherit; }
-      a.xdx:link    { text-decoration: none ; }
-      a.xdx:visited { text-decoration: none ; }
-      a.xdx:hover   { text-decoration: underline; }
-      a.xdx:active  { color: #CCCCCC ; background: #505050 ; }
+      .xdx tr {
+        margin: 0;
+        padding: 0;
+      }
+      .xdx td {
+        padding: 0;
+        margin: 0;
+        height: 100%;
+        width: 100%;
+      }   
+      .xdx img    { vertical-align: middle; border: 0; padding: 0; margin: 0; }
+      .xdx a        { vertical-align: middle; color: #505050; background: inherit; }
+      .xdx a:link    { text-decoration: none ; }
+      .xdx a:visited { text-decoration: none ; }
+      .xdx a:hover   { text-decoration: underline; }
+      .xdx a:active  { color: #CCCCCC ; background: #505050 ; }
     </style>
     <meta name="MSSmartTagsPreventParsing" content="true" />
     <!-- BANDEAU FIN -->
index 999275f..f7cc5e1 100644 (file)
 
 
     <!-- BANDEAU DEBUT -->
-
-    <!-- ligne grise de 1px -->
-    <table class="ligne" cellspacing="0" cellpadding="0" style="width:100%; border:none;" summary=""><tr><td class="ligne"></td></tr></table>
-
-    <table cellspacing="0" cellpadding="1" style="width:100%; border:none;" summary=""><tr><td class="xdx"><img alt="" src="images/x.png" />&nbsp;&nbsp;<a class="xdx" href="http://www.polytechnique.fr/">L'&Eacute;cole</a>&nbsp;&middot;&nbsp;<a class="xdx" href="http://www.polytechnique.edu/">Institutional site</a>&nbsp;&nbsp;~~&nbsp;&nbsp;<a class="xdx" href="http://www.fondationx.org/">FX</a>&nbsp;&middot;&nbsp;<a class="xdx" href="http://www.polytechniciens.com/">AX</a>&nbsp;&nbsp;~~&nbsp;&nbsp;<a class="xdx" href="http://www.polytechnique.org/">Polytechnique.org</a>&nbsp;&middot;&nbsp;<a class="xdx" href="http://www.polytechnique.net/{if $smarty.session.auth}login{/if}">Associations polytechniciennes</a>&nbsp;&middot;&nbsp;<a class="xdx" href="http://www.polytechnique.fr/eleves/">&Eacute;l&egrave;ves</a>&nbsp;&middot;&nbsp;<a class="xdx" href="http://www.manageurs.com/{if $smarty.session.auth}anciens_accueil.php?asso=X.org{/if}">Manageurs</a></td></tr></table>
-    <!-- ligne grise de 1px -->
-    <table class="ligne" cellspacing="0" cellpadding="0" style="width:100%; border:none;" summary=""><tr><td class="ligne"></td></tr></table>
-
+    <table cellspacing="0" cellpadding="1" summary="" class="xdx">
+      <tr>
+        <td>
+          <img alt="" src="images/x.png" />&nbsp;&nbsp;<a href="http://www.polytechnique.fr/">L'&Eacute;cole</a>&nbsp;&middot;&nbsp;<a href="http://www.polytechnique.edu/">Institutional site</a>&nbsp;&nbsp;~~&nbsp;&nbsp;<a href="http://www.fondationx.org/">FX</a>&nbsp;&middot;&nbsp;<a href="http://www.polytechniciens.com/">AX</a>&nbsp;&nbsp;~~&nbsp;&nbsp;<a href="http://www.polytechnique.org/">Polytechnique.org</a>&nbsp;&middot;&nbsp;<a href="http://www.polytechnique.net/{if $smarty.session.auth}login{/if}">Associations polytechniciennes</a>&nbsp;&middot;&nbsp;<a href="http://www.polytechnique.fr/eleves/">&Eacute;l&egrave;ves</a>&nbsp;&middot;&nbsp;<a href="http://www.manageurs.com/{if $smarty.session.auth}anciens_accueil.php?asso=X.org{/if}">Manageurs</a>
+        </td>
+      </tr>
+    </table>
     <!-- BANDEAU FIN -->
 
 {* vim:set et sw=2 sts=2 sws=2: *}