emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Jeff Horn <jrhorn424@gmail.com>
Cc: Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: Applying inline styles to a section for exported HTML
Date: Sun, 17 Oct 2010 07:47:20 +0200	[thread overview]
Message-ID: <E6E5F4E6-FC5A-4367-A234-B5DBFA4051C6@gmail.com> (raw)
In-Reply-To: <AANLkTi=zLhT_5oZ4KtiwfPqK0qfxZJi3OCe9RyW7z8-A@mail.gmail.com>


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	other threads:[~2010-10-17  5:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-16  1:40 Applying inline styles to a section for exported HTML Jeff Horn
2010-10-16 16:45 ` Sebastian Rose
2010-10-16 19:18   ` Jeff Horn
2010-10-17  5:47     ` Carsten Dominik [this message]
2010-10-17 22:46       ` Jeff Horn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E6E5F4E6-FC5A-4367-A234-B5DBFA4051C6@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jrhorn424@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).