[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Applying inline styles to a section for exported HTML
From: |
Jeff Horn |
Subject: |
Re: [Orgmode] Applying inline styles to a section for exported HTML |
Date: |
Sun, 17 Oct 2010 18:46:28 -0400 |
Worked like a charm. Thanks for this!
Jeff
On Sun, Oct 17, 2010 at 1:47 AM, Carsten Dominik
<address@hidden> wrote:
>
> 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
>
>
--
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University
(704) 271-4797
address@hidden
address@hidden
http://www.failuretorefrain.com/jeff/