website logo
Auteur
avatar
siem

Forum » » Le coin des codeurs » » Un opentable transparent


Posté : 15-01-2005 11:34 icone du post

Si en faisant ça :
La css à déclarer
div.boitetrans{
    background: transparent;/* Fond transparent*/
    border: 1px solid #ff0000;/* Bord rouge 1 pixel*/
}

function opentable() {
   if (function_exists("opentable_theme")) {
      opentable_theme();
   } else {
      echo "<div class=\"boitetrans\">\n";
   }
}
function closetable() {
   if (function_exists("closetable_theme")) {
      closetable_theme();
   } else {
      echo "</div>\n";
   }
}


C'est encore plus leger que des tableaux imbriqués

Cet article provient de NPDS REvolution 16
https://lab.grottes-et-karsts-de-chine.org/viewtopic.php?topic=15124&forum=5