Bonjour à tous!!!
Voila je suis en train de faire une page avec un tableau afin de créer un étiquette pour faire des impressions. J'essaie de colorer une td en gris mais je ne sais pas pourquoi elle ne veux pas se colorer. J'ai essayé avec d'autres couleur sans aucun succès. Voici le code de mon tableau:
Si quelqu'un pouvait me dire d'ou viens le problème car la je bloque. Merci d'avance.
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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85 <!doctype html> <script type="text/javascript"> window.onload = function() { window.print(); } </script> <link href="../../../css/formulaire.css" rel="stylesheet" type="text/css" /> <link href="../../../css/imprime.css" rel="stylesheet" type="text/css" /> <div style="foat:left;width:100%;height:100%;"> <table class="table" style="height:48%;border:1px solid black;" > <tr> <td class="td_etq_3 left" colspan="2" style="font-size: 10px;"><?php echo html('REFERENCE'); ?> <a style="font-size: 20px;"><?php echo "<br />"; echo "G1036025" ?></a></td> <td class="td_etq_3 left" style="width:30%;font-size: 10px;"><?php echo html('INDICE'); ?> <a style="font-size: 20px;"><?php echo "<br />"; echo "1" ?></a></td> <td class="td_etq_3 left" style="width:30%;font-size: 10px;"><?php echo html('EMPLACEMENT'); ?> <a style="font-size: 20px;"><?php echo "<br />"; echo $stock['NOM_EMPLACEMENT']; ?></a> </td> <td style="font-size:25px; background-color: gray;" class="td_etq_3 left" rowspan="6" > <!-- la td que je souhaite colorer--> <?php echo html('P'); echo "<br>"; echo html('R'); echo "<br>"; echo html('O');echo "<br>"; echo html('T');echo "<br>"; echo html('O'); echo "<br>"; echo html('T');echo "<br>"; echo html('Y');echo "<br>"; echo html('P');echo "<br>"; echo html('E'); echo "<br>"; echo html('S'); ?></td> </tr> <tr> <td class="td_etq_3 left" colspan="3" style="font-size: 10px;"><?php echo html('DESIGNATION'); ?> <a style="font-size:20px;"><?php echo "<br />"; echo "MÉCA 240SAT (DIAPH 1011541)"; ?></a></td> <td class="td_etq_3 left"><?php echo html('DATE ENTREE'); ?> <a style="font-size: 20px;"><?php echo "<br />"; echo "19/05/15"; ?></a></td> </tr> <tr> <td class="td_etq_4 left" colspan=2><?php echo html('DESIGNATION'); ?></td> <td class="td_etq_6 left" colspan=2 ><?php echo html($info['DESIGNATION_VALEO_BESOIN']); ?></td> </tr> <tr> <td class="td_etq_3 left" colspan=2 ><?php echo html('QUANTITE'); ?></td> <td class="td_etq_3 left" ><?php echo html('CLIENT'); ?></td> <td class="td_etq_3 left" ><?php echo html('PROJET'); ?></td> </tr> <tr> <td class="td_etq_9 left" colspan=2><?php echo html($info['QUANTITE_BESOIN']); ?></td> <td class="td_etq_2 left"><?php echo html($info['LABEL_CLIENT']); ?></td> <td class="td_etq_2 left"> <?php echo html($info['NUM_PROJET']); ?> <br class="br"/> <?php echo html($info['NOM_PROJET']); ?> </td> </tr> <tr> <td class="td_etq_3 left" colspan=2><?php echo html('OPERATIONS RESTANTES'); ?></td> <td class="td_etq_3 left" colspan=2><?php echo html('N°LOT'); ?></td> </tr> <tr> <td class="td_etq_2 left" colspan=2 rowspan=3></td> <td class="td_etq_2 left" colspan=2><?php echo html($info['NUM_LOT']); ?></td> </tr> <tr> <td class="td_etq_3 left" colspan=2><?php echo html('DATE D\'ENTREE'); ?></td> </tr> <tr> <td class="td_etq_2 left" colspan=2><?php echo html($info['DATE_LOT']); ?></td> </tr> <tr> <td class="td_etq_3 left" colspan=2 ><?php echo html('COMMENTAIRE'); ?></td> <td class="td_etq_3 left" colspan=2><?php echo html('PILOTE'); ?></td> </tr> <tr> <td class="td_etq_2 left" colspan=2 ></td> <td class="td_etq_5 left" colspan=2><?php echo html($prs_p['PRENOM_PERSONNE'].' '.$prs_p['NOM_PERSONNE']); ?></td> </tr> <img src="barcode.png" border="0" /> </table> </div>
Partager