No repeat background ?

Alizea77 Messages postés 27 Statut Membre -  
Alizea77 Messages postés 27 Statut Membre -
Bonjour,

J'ai intégré un image de background dans un tableau html.

Le fond se duplique, je souhaiterais qu'il s'affiche qu'une seule fois, comment faire ?

<table width="100%" border="0" cellpadding="0" cellspacing="0" background="img/nom de l'image">
<tr><td>
lkjslkfjlksdjf
</td></tr>
</table>


Merci
Alizéa
Configuration: Windows XP
Internet Explorer 6.0

1 réponse

  1. killermano66 Messages postés 233 Date d'inscription   Statut Membre Dernière intervention   41
     
    E utilisant une propriété css

    .table_exemple {
    background-image: url("chemin/de/ton/image") ;
    background-repeat: no-repeat ;
    width=100%;
    cellpadding=0;
    cellspacing=0;
    }

    <table class="table_exemple">
    Contenu de ton tableau
    </table>

    Un petit complément :
    https://openweb.eu.org/articles/tableaux_css

    A+
    4
    1. Alizea77 Messages postés 27 Statut Membre
       
      Super merci pour l'info
      0