emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: Greg Newman <greg@20seven.org>
Cc: Bastien <bastienguerry@googlemail.com>,
	emacs-orgmode@gnu.org, James Yoo <james.yoo@gmail.com>
Subject: Re: unicorn image is not a link back to the front page on orgmode.org
Date: Wed, 24 Jun 2009 21:19:44 +0200	[thread overview]
Message-ID: <87tz25h227.fsf@kassiopeya.MSHEIMNETZ> (raw)
In-Reply-To: <71454fac0906241117r337a565ey6cde3f6269c55094@mail.gmail.com> (Greg Newman's message of "Wed, 24 Jun 2009 14:17:37 -0400")


Greg Newman <greg@20seven.org> writes:
> You're welcome.Fixed works too.  Absolute can act goofy if the main body and
> starting div aren't set to absolute.  I should have known better.
[1]

Fixed will not work in IE. It will scroll out of view if you scroll the
page.

See the bottom of org.css on how add the `absolute' positioning for IE
only (the simple way...). [2]


> Sebastion: divs work too on some browsers.  Some browsers (cough) IE will
> sometimes collapse them if they have no content.  I've  always had better
> luck with a transparent image.


Good, I heard that before. I guess it was IE 5 or something. Don't how
the MAC version of IE is (crap I guess).

It looks good and works (Linux FF 3 and Opera 10).


    Sebastian







[1] Actually, the position is choosen relative (default) or absolute to
    the next parent, that has a non-default `position'. This works in
    all browsers.

    Example:
 
    <div style="position:relative;">  <!-- nothing special, but rules -->
     <div style="position:absolute; top:-10px; right:-10px">
      <!-- close link and icon here -->
     </div>
    </div>
 
    It's important, to add _no_ padding and _no_ margin to the elements
    meant for positioning. Paddings and margins are handled
    differently. IE does it all wrong then.


[2] This here might work (not sure if this works, if we position the img
    though. Maybe we'll have to position the link and use
    display:block;):

    * html a.logo-link {
       position: absolute;
       top: 0px;
       left: 0px;
       width: 190px;
       height: 190px;
    }

  reply	other threads:[~2009-06-24 19:15 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-24 13:39 unicorn image is not a link back to the front page on orgmode.org James Yoo
2009-06-24 15:00 ` Xin Shi
2009-06-24 15:15 ` Bastien
2009-06-24 16:34   ` Manish
2009-06-24 17:31     ` Bastien
2009-06-24 18:17       ` Greg Newman
2009-06-24 19:19         ` Sebastian Rose [this message]
2009-06-24 19:17           ` James Yoo
2009-06-24 19:28           ` Bastien
2009-06-25  4:43             ` Carsten Dominik
2009-06-25 13:02               ` Bastien
2009-06-25 14:28                 ` Sebastian Rose
2009-06-25 14:27                   ` Carsten Dominik
2009-06-25 15:02                     ` Bernt Hansen
2009-06-25 15:10                       ` Carsten Dominik
2009-06-25 16:39                         ` Greg Newman
2009-06-25 14:53                   ` Manish
2009-06-25 17:03                     ` Bastien
2009-06-25 17:16                       ` Sebastian Rose
2009-06-25 23:51                         ` Bastien
2009-06-24 17:26   ` Sebastian Rose

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=87tz25h227.fsf@kassiopeya.MSHEIMNETZ \
    --to=sebastian_rose@gmx.de \
    --cc=bastienguerry@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=greg@20seven.org \
    --cc=james.yoo@gmail.com \
    /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).