Yatrix Yatrix - 1 year ago 66
CSS Question

Multiple names in CSS, including elements in declaration: syntax questions

I came across these on the new job I just started. I don't have web experience so my knowledge is pretty basic. I'm not sure what the below do. I've never come across or used syntax like this before. I was able to find that the

will apply to any element with that id, but that's all I could dig up.

.howmanyinstate .ctrlHolder ol

#TAFeedBack div.ctrlHolder table
background:none !important;

Answer Source
.howmanyinstate .ctrlHolder ol 

applies the style to all ordered lists ol in an element that has a class ctrlHolder and that element is a child of an element with class howmanyinstate

For example:

<div class="howmanyinstate">
    <div class="ctrlHolder">
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download