emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Rockefeller, Harry" <Harry.Rockefeller@flightsafety.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: FAQ or manual suggestion: customizing HTML export
Date: Thu, 7 Nov 2013 12:00:32 -0500	[thread overview]
Message-ID: <3185EFAF9C8F7B4E9DBDF56829BF7C782A5D4991ED@srv060ex01.ssd.fsi.com> (raw)

NOTE: This is not an information request.
I searched google, orgmode.org FAQ, org manual, and ran a search on this mailing list but
could not find this useful information.  Since it took me a few days
to figure it out, I thought it might be worth documenting somewhere.

I wanted to customize HTML export.
1) to reduce the amount of empty space in org tables, and to put lines around all cells since
white space was now minimal, I finally found adding this gets the job done:
#+ATTR_HTML: :options border="2" rules="all" frame="border" cellpadding="0" cellspacing="0"

2) to change the color of the title on a per-org-file basis I found this works:
#+HTML: <style>.title {color: blue;}</style>
If I want to change the color of the title for all org files then adding this to
my ~/.emacs file worked:
(setq org-export-html-style-extra "<style>.title {color: blue;}</style>")

OK go ahead and flame me if stuff like this is 'hidden' in plain sight.

             reply	other threads:[~2013-11-07 17:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-07 17:00 Rockefeller, Harry [this message]
2013-11-10 10:04 ` FAQ or manual suggestion: customizing HTML export Suvayu Ali

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=3185EFAF9C8F7B4E9DBDF56829BF7C782A5D4991ED@srv060ex01.ssd.fsi.com \
    --to=harry.rockefeller@flightsafety.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).