On 8/25/2012 7:47 PM, Tim Climis wrote:
On Saturday, August 25, 2012 3:03:33 pm Jay Tanna wrote:

#invitelist, (AND)
.window, (AND)
.redframe

Uh, no... Maybe some HTML would help.

#invitelist .window .redframe:
<div id="invitelist">
  <div class="window">
    <div class="redframe">...</div>
  </div>
</div>

#invitelist .window.redframe:
<div id="invitelist">
  <div class="window redframe"></div>
</div>

--

I thought that first response was wrong but didn't wanna go off half-cocked and put my foot in my mouth...

I've got it working, I just wasn't sure why my original method didn't work and after studying your example I know why now. I forgot that the spaces denote SEPARATE blocks or DIVs. I was using your first example of CSS with your second example of HTML (two classes on the div) and because of the spaces the browser was looking for another DIV instead of a DIV with two classes.

Thanks for clarifying!

Mike
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to