Bonsoir,
comme j'ai un problème d'affichage sur changement de langue, j'ai créé une page beaucoup plus simple mais qui reproduit quand même le problème :
Code html+PHP : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 <table class="table_indexinc"> <tr> <td><div class="width-half"><?php echo $str[25];?></div></td> <td><div class="width-half"><?php echo $str[34];?></div></td> </tr> <tr> <td><div class="width-half">text1</div></td> <td><div class="width-half">text2</div></td> </tr> <tr> <td><div class="width-half">text1</div></td> <td><div class="width-half">text2</div></td> </tr> </table>
Quand la langue change, le contenu du tableau $str change (traduction) et la seconde colonne se déplace : comment éviter cela ?
Code css : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 .width-half { width:50%; }
Partager