emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: html export - howto change UP|HOME link style?


From: Sebastian Rose
Subject: Re: [Orgmode] Re: html export - howto change UP|HOME link style?
Date: Sun, 15 Nov 2009 06:52:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Eraldo Helal <address@hidden> 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 via email to

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