From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Yoo Subject: Re: unicorn image is not a link back to the front page on orgmode.org Date: Wed, 24 Jun 2009 14:17:46 -0500 Message-ID: <487323a00906241217p2957881fq7022a950fea28568@mail.gmail.com> References: <487323a00906240639w1e4789ebjca5689decd03e795@mail.gmail.com> <87bpodirx8.fsf@bzg.ath.cx> <87y6rhh72x.fsf@bzg.ath.cx> <71454fac0906241117r337a565ey6cde3f6269c55094@mail.gmail.com> <87tz25h227.fsf@kassiopeya.MSHEIMNETZ> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1224373552==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJXz0-0000th-U2 for emacs-orgmode@gnu.org; Wed, 24 Jun 2009 15:18:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJXyx-0000py-LI for emacs-orgmode@gnu.org; Wed, 24 Jun 2009 15:18:08 -0400 Received: from [199.232.76.173] (port=45755 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJXyx-0000pT-94 for emacs-orgmode@gnu.org; Wed, 24 Jun 2009 15:18:07 -0400 Received: from qw-out-1920.google.com ([74.125.92.144]:32489) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MJXyw-0007XO-R8 for emacs-orgmode@gnu.org; Wed, 24 Jun 2009 15:18:07 -0400 Received: by qw-out-1920.google.com with SMTP id 5so525525qwf.24 for ; Wed, 24 Jun 2009 12:18:06 -0700 (PDT) In-Reply-To: <87tz25h227.fsf@kassiopeya.MSHEIMNETZ> 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: Sebastian Rose Cc: Bastien , emacs-orgmode@gnu.org --===============1224373552== Content-Type: multipart/alternative; boundary=001636283db88715cf046d1cf7ce --001636283db88715cf046d1cf7ce Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I almost feel guilty for bringing it up.... On Wed, Jun 24, 2009 at 2:19 PM, Sebastian Rose wrote: > > 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; > } > --001636283db88715cf046d1cf7ce Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I almost feel guilty for bringing it up....

On Wed, Jun 24, 2009 at 2:19 PM, Sebastian Rose <sebastian_rose@gmx.de>= wrote:

Greg Newman <greg@20seven.org>= ; writes:
> You're welcome.Fixed works too. =A0Absolute can act goofy if the m= ain body and
> starting div aren't set to absolute. =A0I 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<= br> only (the simple way...). [2]


> Sebastion: divs work too on some browsers. =A0Some browsers (cough) IE= will
> sometimes collapse them if they have no content. =A0I've =A0always= 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).


=A0 =A0Sebastian







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

=A0 =A0Example:

=A0 =A0<div style=3D"position:relative;"> =A0<!-- nothi= ng special, but rules -->
=A0 =A0 <div style=3D"position:absolute; top:-10px; right:-10px&qu= ot;>
=A0 =A0 =A0<!-- close link and icon here -->
=A0 =A0 </div>
=A0 =A0</div>

=A0 =A0It's important, to add _no_ padding and _no_ margin to the elem= ents
=A0 =A0meant for positioning. Paddings and margins are handled
=A0 =A0differently. IE does it all wrong then.


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

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

--001636283db88715cf046d1cf7ce-- --===============1224373552== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1224373552==--