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: #ffffff;
color: #000000;
}
#invitelist, .window, .redframe {
border: 3px ridge #b90025;
}
> 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 larger section of CSS three times I
> did it like so:
>
> #invitelist div.window {
> display: block;
> width: 98%;
> height: 100px;
> overflow: auto;
> padding: 5px;
> background-color: #ffffff;
> color: #000000;
> }
>
> #invitelist div.window.redframe {
> border: 3px ridge #b90025;
> }
>
______________________________________________________________________
css-discuss [[email protected]]
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/