My server-side php script is generating an xml response with the
following structure:
<thread class='Columns'>
<Id class='Column dataDetail'>12345</Id>
<Command class='Column dataDetail'>SET</Command>
..
..
..
</thread>
I have CSS styles defined for Columns, Column, and dataDetail like
so...
..Columns {overflow: auto; width: 100%; font-size: smaller}
..Column {position: relative; float: left; width: 100px; height: 20px;}
..dataDetail { border-top: 1px solid #c0dfc5; font-size: smaller}
But these styles don't apply to the thread element and its children
even though they have the class attribute. Do CSS class-specific
selectors only apply to HTML elements? If I replace the xml element
names with 'div' the CSS styles apply correctly.
How can I make the CSS apply to XML elements with class atributes?
Thanks.