Home
The Toolkit for Online Communities
15899 Community Members, 0 members online, 2583 visitors today
Log In Register

Forum OpenACS Q&A: Re: css question

OpenACS Home : Forums : OpenACS Q&A : Re: css question : One Message

+
5: Re: css question (response to 1)
Posted by Sean Redmond on

The short answer is "no". But how you do it depends on your stylesheet. In the first place you're talking about a contextual selector div.asdf div (i.e. a div with no class inside a div with a class of asdf). You could save yourself some "cloning" by combining the definitions of body and div.asdf div, but you'll have to explicitly spell out what would otherwise be defaults:

body, div.asdf div {
    font-style: normal;
    font-weight: normal;
    font-size:medium;
}

div.asdf {
    font-style: italic;
    font-weight: bold;
    font-size: large;
}