I applied a style to a buttonfield in a details view called ProductDetailsEditButton. I thought the name of the selector would thus be td .ProductDetailsEditButton but this didn’t work. However, when I called it td.ProductDetailsEditButton (without the space), it did work.
Does there have to be a space between the two or not? Is that always the case or does it depend? Sorry, but it seems inconsistent in the naming convention and I want to know what I’m overlooking.
When there is a space it means that the selector will match child elements of a
<td>that haveclass="ProductDetailsEditButton". For example:When there is no space it will match
<td class="ProductDetailsEditButton">.