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
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;
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:
#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
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
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