Scott Johnson wrote:
Quote:
I'm new to stylesheets and have a question: |
comp.infosystems.
www.authoring.stylesheets might be a better place to ask.
Quote:
Via a stylesheet, is it possible to set the color of a cell based on the
value it contains. |
With CSS? No.
With Microsoft's style sheet language? Perhaps (see expression()) but that
language isn't really suitable for the WWW.
Looping through the table and adding a class attribute to each cell based on
the contents of the node is a fairly trivial exercise in Perl. Take a look
at HTML:TreeBuilder and the rest of LWP if you decide to go down that
route.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is