emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: Eraldo Helal <eraldo@eraldo.org>
Cc: Bernt Hansen <bernt@norang.ca>, Org-Mode <emacs-orgmode@gnu.org>,
	carsten.dominik@gmail.com
Subject: Re: Re: html export - howto change UP|HOME link style?
Date: Sun, 15 Nov 2009 06:52:46 +0100	[thread overview]
Message-ID: <87639c49n5.fsf@gmx.de> (raw)
In-Reply-To: <1bcd1ad60911142113k3d5c94d8l7d231c5503d33dd7@mail.gmail.com> (Eraldo Helal's message of "Sun, 15 Nov 2009 06:13:22 +0100")

Eraldo Helal <eraldo@eraldo.org> writes:

>> This patch fixes it. I've put the LINK_UP and ..._HOME directly after
>> the <body> tag:
>>
>> <body>
>>   -----  HERE ---
>>  <div id="content">
>>
>  How can I now style them with css ...without messing with the other links?
>> By defining links in "body" for UP and HOME and defining links again in
> "content" for rest?
>
> Eraldo

Example:

  1. M-x customize-variable RET org-export-html-home/up-format RET
  2. Add a `id' property the <div style=....> element, e.g.
       <div id="home-up-link" style="...">

  3. Use the technique you use for CSS styling and add entries to handle
  those links:

    .home-up-link a { font-weight:bold; border:1px solid #ff0000; }

  optionally:

    .home-up-link a:active  { /* when the mouse button is down... */ }
    .home-up-link a:hover   { /* when the mouse is on the link */ }
    .home-up-link a:visited { /* what it looks like after visiting the
                                 target */ } 




Best wishes

  Sebastian

  reply	other threads:[~2009-11-15  5:53 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
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 [this message]
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

  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=87639c49n5.fsf@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=bernt@norang.ca \
    --cc=carsten.dominik@gmail.com \
    --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 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).