Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

utilisation html table

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: French
View previous topic :: View next topic  
Author Message
drizztfr
Smarty n00b


Joined: 11 Mar 2015
Posts: 1

PostPosted: Wed Mar 11, 2015 9:15 am    Post subject: utilisation html table Reply with quote

Bonjour

Je vous soumes ce petit soucis concernant l utilisation de html table

voila
je passe via mon prog php les varaible pour
lloop=$fichier
cols=$cols
table_attr='class="w_skinnedTable"'
tr_attr=$tr
th_attr=$th
td_attr=$td

pas de soucis à ce niveau la tout est ok

je désirerai maintenant utiliser dans td_attr la possibilité de paramétrer un couleur via style="background-color:#509E2F"
tout est ok aussi

le soucis c'est quelle s'applique a toute la colonne alors que je voudrai que la couleur change en fonctionne du contenu

il lit " td_attr=$td " un fois et même si j'ajoute d'autre chanps dans ma variable iln'entient pas compte

exite t il un parramtre qui pourrais resoudre mon pb

Merci d'avance
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP