emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeff Horn <jrhorn424@gmail.com>
To: Org-mode ml <emacs-orgmode@gnu.org>
Subject: Applying inline styles to a section for exported HTML
Date: Fri, 15 Oct 2010 21:40:59 -0400	[thread overview]
Message-ID: <AANLkTikqrQFthc7keWV3nwS77c7J+jXscPMTJKW8zpF_@mail.gmail.com> (raw)

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/

             reply	other threads:[~2010-10-16  1:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-16  1:40 Jeff Horn [this message]
2010-10-16 16:45 ` Applying inline styles to a section for exported HTML Sebastian Rose
2010-10-16 19:18   ` Jeff Horn
2010-10-17  5:47     ` Carsten Dominik
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=AANLkTikqrQFthc7keWV3nwS77c7J+jXscPMTJKW8zpF_@mail.gmail.com \
    --to=jrhorn424@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).