Information générale
Catégorie:
Applications Internet
If your code is working and you're happy, fine.
However you don't *have* to do it that way and FWIW I think that your solution makes a couple of assumptions that might prove to be inappropriate later <s>.
In trying to show you an alternative (possibly as many as 6 steps in a method, but not recursive) I was trying to show you what I believe is a more appropriate solution.
I was also trying to show you why a "one shot method" built into the model didn't really make sense <s>.
Would you want to apply *all* style attributes that were inherited *equally* over *all* content for the cell? For example, if the cell content includes an A tag (this didn't come out properly in my last message, and in case it doesn't again I mean an anchor/hyperlink tag) do you want to apply colors universally? If the cell contains a nested table, what do you want to happen then?
>L<
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement