Thanks Grant. It works. Why I ask css questions here is just because
javascript, dhtml and css are always involved each other on the page
authorising. Anyway this questions actually has nothing with javascript,
just expect the help form one newsgroup.
Jack
"Grant Wagner" <gwagner@agricoreunited.com> wrote in message
news:41387574.33F07056@agricoreunited.com...[color=blue]
> table.something tr td,
> table.another tr td,
> table.3rd tr td {color:burple;}
>
> Just curious, why would you ask this in a JavaScript newsgroup?
>
> datactrl wrote:
>[color=green]
> > Thanks, Hal Rosser.
> >
> > It works with table.something tr td {color:burple;}. I try to do like:
> > table.something.another.3rd tr td {color:burple;}
> > It seems to work for "3rd" only. That is I try to specify a table with a
> > class name of "something", "another" or "3rd".
> >
> > Jack
> >
> > "Hal Rosser" <hmrosser@bellsouth.net> wrote in message
> > news:i3SZc.79462$0o5.3270@bignews1.bellsouth.net.. .[color=darkred]
> > > table.something tr td {color:burple;}
> > >
> > > "datactrl" <quals@tpg.com.au> wrote in message
> > > news:4137d033$1@dnews.tpgi.com.au...
> > > > Hi, all
> > > >
> > > > How do I define a css selector for TD elements working only if it is[/color][/color][/color]
in[color=blue][color=green]
> > a[color=darkred]
> > > > table which has a class ="something"? Thanks a lot!
> > > >
> > > > Jack[/color][/color]
>
> --
> Grant Wagner <gwagner@agricoreunited.com>
> comp.lang.javascript FAQ -
http://jibbering.com/faq
>[/color]