Bonour à tous, j'aimerai que vous m'aidiez à résoudre mon problème :
Je veux utiliser 2 classes différentes dans une collone d'un table. Le problème est simple :
voila le code PHP :
voila mon css:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 echo "<table> <tr> <td width=50% ><img src=\"$niv_4_photo[0]\"><p class=\"texte_image\">XXXXXX</p></td> <td><p class=\"titre_accueil\">$niv_4_titre[1]</p>\r <p class=\"texte\">$niv_4_corps[1]</p></td> </tr> </table>";
Je voudrais savoir pourquoi à la ligne
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 .titre_accueil{color:#440066; text-align:left; font-size:14px;} .texte{color:#440066; text-align:left; font-size:10px;} .texte_accueil{color:#440066; text-align:left; font-size:10px;} .texte_image{color:#440066; text-align:left; font-size:9px;} table {border-style:none; width:550px; height:110px}
<td><p class=\"titre_accueil\">$niv_4_titre[1]</p>\r
<p class=\"texte\">$niv_4_corps[1]</p></td>
il m'affiche $niv_4_titre[1] en style titre_accueil alors que $niv_4_corps[1] est affiché snas prendre en compte ma classe?!?!
Partager