emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] ATTR_HTML for a clickable image, howto?


From: Samuel Wales
Subject: Re: [O] ATTR_HTML for a clickable image, howto?
Date: Fri, 6 Apr 2012 11:41:28 -0700

Christian and others,

Will CSS solutions described in this thread work if you always export
subtrees (not entire .org files) and never include style files?

If so, how do you go about using them in Org?  Is there a less awkward
way than using an HTML block with a div with style=?

This is awkward as you have to do it for every such block:

  #+HTML: <div style="color: black; background-color: #f4a460">

It would be great to have a generic style of some sort, specify the
scoped Org elements with neat syntax (maybe like #+myblock_begin:)
instead of HTML blocks, and to be able to export it for subtrees (not
entire .org files!) in a completely self-contained way with no need to
include any file.

An example use case is Blogger, where you /could/ try to change the
CSS for your template, but it is far better to have your post be
entirely self-contained with all the style information you need.

Maybe this question deserves its own thread?

Samuel

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com



reply via email to

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