From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose 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 Message-ID: <87tz25h227.fsf@kassiopeya.MSHEIMNETZ> References: <487323a00906240639w1e4789ebjca5689decd03e795@mail.gmail.com> <87bpodirx8.fsf@bzg.ath.cx> <87y6rhh72x.fsf@bzg.ath.cx> <71454fac0906241117r337a565ey6cde3f6269c55094@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJXwm-0005oU-HT for emacs-orgmode@gnu.org; Wed, 24 Jun 2009 15:15:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJXwh-0005hX-IK for emacs-orgmode@gnu.org; Wed, 24 Jun 2009 15:15:51 -0400 Received: from [199.232.76.173] (port=38396 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJXwh-0005hH-7G for emacs-orgmode@gnu.org; Wed, 24 Jun 2009 15:15:47 -0400 Received: from mail.gmx.net ([213.165.64.20]:39373) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MJXwg-0006ur-2c for emacs-orgmode@gnu.org; Wed, 24 Jun 2009 15:15:46 -0400 In-Reply-To: <71454fac0906241117r337a565ey6cde3f6269c55094@mail.gmail.com> (Greg Newman's message of "Wed, 24 Jun 2009 14:17:37 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Greg Newman Cc: Bastien , emacs-orgmode@gnu.org, James Yoo Greg Newman 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:
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; }