[HTML rowspan et <td> variable] Pb sur IE

Fermé
Osiris669 - 27 juil. 2005 à 11:33
 Ludo Galland - 27 août 2007 à 10:30
Bonjour,

Ce serait super sympa si quelqu'un pouvait trouver la ou les solutions possibles.

Voici le pb:
Je travaille sur site concu avec les tableau en html
Pour simplifier le probléme, j'ai un tableau a 2 colonne . La premiere contient 2 lignes et la deuxieme une seul avec donc un rowspan='2'.
La 2eme colonne contient le contenu du site dont la taille peut varier en fonction des pages.
En haut a gauche, j'ai un menu de taille fixe et juste en dessous j'ai une cellule avec une image de fond qui se repete selon la taille de la cellule de la deuxieme colonne.

Pour le menu je met donc un height avec une valeur fixe. Sur mozilla le resultat est impecable. Sous IE, c la misere.
Le menu est 3 fois plus grand que la valeur que j'ai fixé et je ne comprends pas pour quoi.

Voici le code en ultra simplifié:

<table border='1' cellpadding='0' cellspacing='0'>
<tr>
<td width='177' height='155' background="image/part_connectee.gif" style="background-repeat:no-repeat;">A</td>
<td rowspan='2' background="image/decoupe_r6_c13.gif" width='287' height='550'>B</td>
<!-- <td width='177' height="155" background="image/part_connectee.gif" style="background-repeat:no-repeat;">B</td> -->
<tr><td background="image/bout1.gif" width='177' >D</td><!--<td background="image/bout2.gif" width='177'>D</td>--></tr>
</table>
A voir également:

2 réponses

<table border='1' cellpadding='0' cellspacing='0'>
<tr>
<td width='177' height='155' background="image/menu.gif" style="background-repeat:no-repeat;">A</td>
<td rowspan='2' background="image/contenucentrale.gif" width='287' height='550'>B</td>
</tr>
<tr >
<td background="image/etiremenu.gif" height="395" width='177' valign="top">D</td>
</tr>
</table>
2
Ludo Galland
27 août 2007 à 10:30
ces pas de chance Osiris669 (aka sk8er ou JuJu Maurice je presume

essai avec tes mains...
-1