[css-d] Multiple classes...

2012-08-25 Thread Michael Stevens
I've been out of it for a while so this is likely a rookie question that I've forgotten the answer to. I'm working on a section that makes a DIV of a certain size with scrolling contents. I wanted to make different DIVs with the difference being their border color. And instead of writing a

Re: [css-d] Multiple classes...

2012-08-25 Thread Jay Tanna
You also need a comma after each Id and/or clas like this: #invitelist, div.window { display: block; width: 98%; height: 100px; overflow: auto; padding: 5px; background-color: #ff; color: #00; } #invitelist, .window, .redframe { border: 3px ridge #b90025;

Re: [css-d] Multiple classes...

2012-08-25 Thread Michael Stevens
That makes each entry separate, no? #invitelist, (OR) .window, (OR) .redframe I was intentionally making it as specific as I could so it would only apply to that one specific element. Mike On 8/25/2012 2:22 PM, Jay Tanna wrote: You also need a comma after each Id and/or clas like this:

Re: [css-d] Multiple classes...

2012-08-25 Thread Jay Tanna
#invitelist, (AND) .window, (AND) .redframe That makes each entry separate, no? #invitelist, (OR) .window, (OR) .redframe I was intentionally making it as specific as I could so it would only apply to that one specific element. Mike

Re: [css-d] Multiple classes...

2012-08-25 Thread Tim Climis
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 applies to the inner most div in the code below. div id=invitelist div class=window div class=redframe.../div

Re: [css-d] Multiple classes...

2012-08-25 Thread Michael Stevens
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