- What you are looking at is not a single class name with spaces but a list of
classnames. An element can have more than one classname assigned to it,
they are separated by spaces. On the other hand, spaces on the style sheet
So, what you have here are two different things, the TD cell which follows
all of the individual styles listed, the yui-dt-col-DSP, it is on a sortable
column and it is the last element in the series (to draw the proper borders
around it). So, it will be drawn with the sum of all the style attributes
for all these classNames (there are rulse to solve conflicts when they
On the other hand you are assigning a pointer cursor to an element of class
yui-dt-last withing another element of class yui-dt-sortable contained
within a table cell of class yui-dt-col-DSP within a YUI datatable. Such an
element does not exist.
----- Original Message -----
From: "jim_adkins_1313" <jim_adkins_1313@...>
Sent: Wednesday, January 30, 2008 3:05 AM
> Hello -
> Does anyone know how to define a CSS rule for a datatable cell,
> when the class name contains "space" characters?
> For instance, I have a column (td cells), that reside at the end
> of the row. The generated name is:
> 'yui-dt-col-DSP yui-dt-sortable yui-dt-last'
> I have attempted to define a CSS rule, like the following:
> .yui.dt-table td.yui-dt-col-DSP yui-dt-sortable yui-dt-last
> This does not work (I believe that the spaces are the issue).
> Any ideas?
> Yahoo! Groups Links
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.19.15/1248 - Release Date:
> 28/01/2008 21:32