I have two css classes. ".test1 and .test2"
Can anyone explain what this code is doing?
.test1{height: 100%; clear: both; border: 1px solid #999;}
.test1, .test1 .test2{height: 100% !important; height: 30em; min-height: 30em; }
I'm thinking that all the styles in .test1 are applied to the element with this classname.
For the second style ".test1, .test1 .test2"
I think this will only be applied when an element with the classname .test2 is inside and element with a classname of .test1. When this happens then the height style from .test1 will be overridden with the style from .test2.
Is this the correct behavior?
Thanks, sj