I would strongly recommend against putting a table in a span. Karl's solution below is correct. You might also do :contains(.pdf) depending on what sort of text is in your td's.
-- Yehuda On Sun, Jul 20, 2008 at 6:38 PM, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Within a span with class "TreeView", there is a table. Within the > table, there are TD's. I want to select the TD's whose content ends > in ".pdf". How would I go about writing an expression to, say, apply > a class to only those nodes? > > > Thanks for your help, - Dave > > -- Yehuda Katz Developer | Engine Yard (ph) 718.877.1325