Class Directive

Paul VonZimmerman <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <CA+TAX3jRGi1KA0-x5hVZ84mr=c9g2M1Bf-bWYgfY_BJcj=+EFg@mail.gmail.com>
Hi everyone, having a lot of trouble figuring out how to define what
content get's a particular class.

 .. class:: drop-down

    This is a header
    ++++++++++++++++

    I'm a bit of content

    An H2
    =====

So, what I want to do is make the H2 element not have the class "drop-down"
applied to it. I've tried different indentations, etc. The only thing that
seems to work is placing H1 before the h2, this seems to be the only thing
that ends the class. Any help would be appreciated! Thank you!

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.