Bonjour,
J'ai le résultat suivant :
Bien sûr j'aimerai que le texte de ma description revienne automatiquement à la ligne, en restant dans le bloc qui est une <div>.
Code :
Merci!
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 <div class="column" style="background-color:#F0FFFF;"> <div style="height: 20%"> <?php if ($row['produits_etat_vente'] == 0) { ?> <button class="button-etat-product" id="affichage_a_vendre" role="button">Disponible</button><?php } elseif (($row['produits_etat_vente']) == 1) { ?> <button class="button-etat-product" id="affichage_vendu" role="button">Vendu</button><?php } ?> </div> <div style="height: 60%"> <span class="categorie" height="20%">Nom du produit : </span><span class="ingredient"><?php echo $row['produits_nom']; ?></span><br> <span class="categorie">Date de publication : </span><span class="ingredient"><?php echo $row['produits_nom']; ?></span><br> <span class="categorie">Description : </span><span class="ingredient"><?php echo $row['produits_description']; ?></span><br> <span class="categorie">Qualité du matériau : </span><span class="ingredient"><?php echo $row['produits_qualite']; ?></span><br> <span class="categorie">Marque du tissu : </span><span class="ingredient"><?php echo $row['produits_marque']; ?></span><br> </div> <div style="height: 20%"> <div id="prix_produit"> <p><?php echo $row['produits_prix']; ?> €</p> </div> </div> </div>
Partager