emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Applying inline styles to a section for exported HTML


From: Carsten Dominik
Subject: Re: [Orgmode] Applying inline styles to a section for exported HTML
Date: Sun, 17 Oct 2010 07:47:20 +0200


On Oct 16, 2010, at 9:18 PM, Jeff Horn wrote:

Maybe custom IDs are your friends?



* A Word on Words
 :PROPERTIES:
 :CUSTOM_ID: word
 :END:

 Content


Great idea, but something isn't working right. It catches and styles
the headline, but not the content.

Org text:
________________________________________________________________________
* Elsewhere
 :PROPERTIES:
 :CUSTOM_ID: elsewhere
 :END:
 You can find me elsewhere on the web.
 - [[http://www.facebook.com/jrhorn424][Facebook]]
 - [[http://www.twitter.com/jrhorn424][Twitter]]
 - [[http://www.flickr.com/people/jrhorn/][Flickr]]
 - [[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]