all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Eraldo Helal <eraldo@eraldo.org>
Cc: Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: html export - howto change UP|HOME link style?
Date: Sat, 14 Nov 2009 17:22:14 -0500	[thread overview]
Message-ID: <87r5s0zqzt.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <1bcd1ad60911140851k6e859dech39074e3b977f9541@mail.gmail.com> (Eraldo Helal's message of "Sat\, 14 Nov 2009 17\:51\:26 +0100")

Eraldo Helal <eraldo@eraldo.org> writes:

> How can I make style changes to "UP and HOME" links? (#+LINK_UP/HOME) without messing with the other
> link styles?

You should use CSS for this but...

the up and home links seem to be inside the <head>..</head> section of
the page and not the <body>..</body> section.  This looks strange to me.

The up and home links also have style applied to them which should
probably be removed so that CSS can completely control the look of the
links.

Part of the export buffer for a test org file looks like this.

,----[ test.org exported to HTML buffer ]
| <head>
| <div style="text-align:right;font-size:70%;white-space:nowrap;">
|  <a accesskey="h" href="up_goes_here"> UP </a>
|  |
|  <a accesskey="H" href="home_goes_there"> HOME </a>
| </div>
| 
| <title>test.org</title>
`----

Shouldn't the up and home links both be moved to the body of the page,
stripped of their in-line style info (text-align, font-size,
white-space) and use CSS for this instead?  I think that might be more
flexible for formatting.

-Bernt

  reply	other threads:[~2009-11-14 22:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-14 16:51 html export - howto change UP|HOME link style? Eraldo Helal
2009-11-14 22:22 ` Bernt Hansen [this message]
2009-11-14 22:52   ` Sebastian Rose
2009-11-14 23:02   ` Sebastian Rose
2009-11-15  5:13     ` Eraldo Helal
2009-11-15  5:52       ` Sebastian Rose
2009-11-17  1:31         ` Eraldo Helal
2009-11-17  3:17           ` Sebastian Rose
2009-11-17 14:12     ` Carsten Dominik
2009-11-17 14:51       ` Sebastian Rose
2009-11-18  5:43         ` Carsten Dominik
2009-11-18 13:11           ` Sebastian Rose
2009-11-21  8:37             ` Eraldo Helal
2009-11-21 11:52               ` Carsten Dominik
2009-11-21 14:34                 ` Eraldo Helal

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r5s0zqzt.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=eraldo@eraldo.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.