From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Horn Subject: Applying inline styles to a section for exported HTML Date: Fri, 15 Oct 2010 21:40:59 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=58313 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6vlx-0004pl-QK for emacs-orgmode@gnu.org; Fri, 15 Oct 2010 21:41:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6vlw-0000AG-Sb for emacs-orgmode@gnu.org; Fri, 15 Oct 2010 21:41:21 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:52810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6vlw-0000AB-NZ for emacs-orgmode@gnu.org; Fri, 15 Oct 2010 21:41:20 -0400 Received: by iwn1 with SMTP id 1so2386971iwn.0 for ; Fri, 15 Oct 2010 18:41:20 -0700 (PDT) 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: Org-mode ml I'm aware we can define #+ATTR_HTML: for styling of divs containing images and tables. Is there similar functionality for section divs? Simply adding the required option below or above the section didn't do the trick. Since section divs aren't named semantically[1], I can't simply add a class style to my CSS file. I basically want to turn a section in my org file into a callout/sidebar box. Any ideas? Best, Jeff [1] What I mean is, a section "* Word" is identified with an id and a class of "section-1" or something similar if it is the first section in a document. If it had an id of "word", I could simply a style for that id in my style sheet. -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jhorn@gmu.edu jrhorn424@gmail.com http://www.failuretorefrain.com/jeff/