From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Subject: HTML / Site export: syntax to assign a class to a div Date: Sat, 30 Jan 2010 23:54:58 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NbMDW-0007Gm-B2 for emacs-orgmode@gnu.org; Sat, 30 Jan 2010 17:55:02 -0500 Received: from [199.232.76.173] (port=36099 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbMDU-0007Ge-Ty for emacs-orgmode@gnu.org; Sat, 30 Jan 2010 17:55:00 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NbMDU-0008GE-5f for emacs-orgmode@gnu.org; Sat, 30 Jan 2010 17:55:00 -0500 Received: from mail-ew0-f228.google.com ([209.85.219.228]:60902) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NbMDT-0008GA-Qe for emacs-orgmode@gnu.org; Sat, 30 Jan 2010 17:55:00 -0500 Received: by ewy28 with SMTP id 28so761671ewy.8 for ; Sat, 30 Jan 2010 14:54:58 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Dear orgmode users, I'm slowly (but firmly) getting my workflows and documents fitting in orgmode. That's great. The agenda and notes-taking part is done and I'm now migrating a few websites into org as well. I've a pretty simple question which puzzles me though pretty intensely. I've crawled the mailing list archives in vain -- the topic is sometimes mentioned without an apparent solution. I would very simply like to assign to an orgmode document section (or subsection) a parameter which will be translated as a class attribute in the corresponding div in the HTML output. Example: * Important section ** Serious Stuff blah ** More serious Stuff * Note :CLASS: rightbox a silly comment * Conclusion orgmode would then name the div sections as usual, I would like to get for the 'Note' section another attribute which would be class="rightbox". I've tried the #+HTML hacks, the html_attr, the drawers and even the #+anchor tag. In vain. I'm sure I'm missing something obvious. Any help would be really really much appreciated! -- Ben