Jeff Horn <jrhorn...@gmail.com> writes:
> 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.


Maybe custom IDs are your friends?



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

  Content



You can add that property like this:

    C-c C-x p CU TAB



HTH

  Sebastian

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to