[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Add a class for first paragraph in ox-html?
From: |
Rick Frankel |
Subject: |
Re: [O] Add a class for first paragraph in ox-html? |
Date: |
Tue, 10 Jun 2014 10:01:58 -0400 |
User-agent: |
Roundcube Webmail/0.9.0 |
On 2014-06-06 18:37, kuanyui wrote:
If you export an Org file to HTML, which has a paragraph before the
first outline, the paragraph will be only wrapped with <p> and no
class/id:
This is an obstacle for write CSS for org HTML page. Maybe this can be
fix by add a seperate class or id for this paragraph? Thanks.
Adding a class or wrapping the paragraphs (there can be more than one)
before the first headline is non-trivial.
However, I believe these are the only paragraphs as direct children of
the content div, you can use the css selector "#content > p" to
reference them.
rick