Probleme IE avec images en fond cellule HTML
trombine40
Messages postés
836
Date d'inscription
Statut
Membre
Dernière intervention
-
Lapo -
Lapo -
j'ai un problème de cmpatibilité avec internet explorer 6 :
j'ai une page web avec un tableau, dont 2 cellules possèdent une image de fond.
pour la première cellule, rien à dire (image menu.gif) maie en revanche la 2ème image main.gif reffuse categoriquement de s'afficher avec IE6 alors que elle marche avec firefox 2.0.0.4, opera 8.54, safari 3.
voici le code du tableau :
merci d'avance pour votre aide
j'ai une page web avec un tableau, dont 2 cellules possèdent une image de fond.
pour la première cellule, rien à dire (image menu.gif) maie en revanche la 2ème image main.gif reffuse categoriquement de s'afficher avec IE6 alors que elle marche avec firefox 2.0.0.4, opera 8.54, safari 3.
voici le code du tableau :
<table style="text-align: left; width: 939px; height: 280px;" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="width: 100px; font-weight: bold;" colspan="1" rowspan="2"> <img style="width: 85px; height: 90px;" alt="logo" src="images/logo.gif"> </td> <td height="32" background="images/menu.gif" style="background-repeat: no-repeat; text-align: center;"> <big> <a style="text-decoration: none; color: rgb(255, 102, 0);">accueil</a> - <a style="color: rgb(0, 153, 0); text-decoration: none;" href="a.html">a</a> - <a style="color: rgb(0, 153, 0); text-decoration: none;" href="b.html">b</a> - <a style="color: rgb(0, 153, 0); text-decoration: none;" href="c.html">c</a> - <a style="color: rgb(0, 153, 0); text-decoration: none;" href="d.html">d</a> - <a style="color: rgb(0, 153, 0); text-decoration: none;" href="e.html">e</a> - <a style="color: rgb(0, 153, 0); text-decoration: none;" href="f.html">f</a> - <a style="color: rgb(0, 153, 0); text-decoration: none;" href="g.html">g</a> </big> </td> </tr> <tr style="font-weight: bold;"> <td style="width: 857px;">blablabla </td> </tr> <tr background="images/main.gif"> <td colspan="2" rowspan="1" style="width: 857px;"> <p>contenu de la page</p> </td> </tr> </tbody> </table>
merci d'avance pour votre aide
A voir également:
- Probleme IE avec images en fond cellule HTML
- Comment mettre une vidéo en fond d'écran - Guide
- Editeur html - Télécharger - HTML
- Excel cellule couleur si condition texte - Guide
- Proteger cellule excel - Guide
- Des images - Guide
2 réponses
Pour ton fond essaie pour commencer de le coder ainsi:
style="background-image: url(ton image)"
style="background-image: url(ton image)"
trombine40
Messages postés
836
Date d'inscription
Statut
Membre
Dernière intervention
144
le pb c qu'il s'agit d'un fond de cellule et non pas d'un tableau ou page entière et qu'il m'en prend un sur les 2 alors que c codé pareil