adfafdadfadsf
div.alert.error {
background:url("v3.png") no-repeat scroll 7px -643px #FFEEEE;
}
Does the selector “div.alert.error” mean the following?
select DIVs that contain both class alert and error.
Is there a different between
CaseI: div.alert.error
CaseII: div.alert .error
CaseIII: div .alert .error
Thank you
A div with classes
alertANDerror.<div class="alert error">An element with class
errorthat is a descendant of a div with classalert.An element with class
errorthat is a descendant of an element with classalert, that in turn is a descendant of any div.