From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Horn Subject: Re: Applying inline styles to a section for exported HTML Date: Sun, 17 Oct 2010 18:46:28 -0400 Message-ID: References: <87lj5ym6hq.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=51467 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P7c0C-0001nK-9W for emacs-orgmode@gnu.org; Sun, 17 Oct 2010 18:46:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P7c0B-0000JX-2X for emacs-orgmode@gnu.org; Sun, 17 Oct 2010 18:46:52 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:44981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P7c0A-0000JT-VN for emacs-orgmode@gnu.org; Sun, 17 Oct 2010 18:46:51 -0400 Received: by iwn1 with SMTP id 1so464823iwn.0 for ; Sun, 17 Oct 2010 15:46:49 -0700 (PDT) In-Reply-To: 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: Carsten Dominik Cc: Org-mode ml Worked like a charm. Thanks for this! Jeff On Sun, Oct 17, 2010 at 1:47 AM, Carsten Dominik wrote: > > On Oct 16, 2010, at 9:18 PM, Jeff Horn wrote: > >>> Maybe custom IDs are your friends? >>> >>> >>> >>> * A Word on Words >>> =A0:PROPERTIES: >>> =A0:CUSTOM_ID: word >>> =A0:END: >>> >>> =A0Content >>> >> >> Great idea, but something isn't working right. It catches and styles >> the headline, but not the content. >> >> Org text: >> ________________________________________________________________________ >> * Elsewhere >> =A0:PROPERTIES: >> =A0:CUSTOM_ID: elsewhere >> =A0:END: >> =A0You can find me elsewhere on the web. >> =A0- [[http://www.facebook.com/jrhorn424][Facebook]] >> =A0- [[http://www.twitter.com/jrhorn424][Twitter]] >> =A0- [[http://www.flickr.com/people/jrhorn/][Flickr]] >> =A0- [[http://pinboard.in/u:jrhorn424][Pinboard]] >> ________________________________________________________________________ >> >> CSS style in linked file: >> ________________________________________________________________________ >> #elsewhere {float:right; width:20%; margin: 0px 15px 5px 15px; >> padding:15px; background: #eee; border: 3px dashed;} >> ________________________________________________________________________ >> >> Have I done something incorrectly? > > For styling the entire subtree, use a property :HTML_CONTAINER_CLASS: > > - Carsten > > --=20 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/