From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manish Subject: Re: Suggestions for Orgmode.org homepage Date: Thu, 8 Jan 2009 09:32:04 +0530 Message-ID: References: <87d4ey6gtb.fsf@kassiopeya.MSHEIMNETZ> <8763kq5x04.fsf@kassiopeya.MSHEIMNETZ> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LKm5y-0004Ko-01 for emacs-orgmode@gnu.org; Wed, 07 Jan 2009 23:02:10 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LKm5v-0004KP-Eq for emacs-orgmode@gnu.org; Wed, 07 Jan 2009 23:02:08 -0500 Received: from [199.232.76.173] (port=45882 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LKm5v-0004KM-9f for emacs-orgmode@gnu.org; Wed, 07 Jan 2009 23:02:07 -0500 Received: from ti-out-0910.google.com ([209.85.142.184]:27061) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LKm5u-0003tr-Ln for emacs-orgmode@gnu.org; Wed, 07 Jan 2009 23:02:06 -0500 Received: by ti-out-0910.google.com with SMTP id u5so7412671tia.10 for ; Wed, 07 Jan 2009 20:02:04 -0800 (PST) In-Reply-To: <8763kq5x04.fsf@kassiopeya.MSHEIMNETZ> Content-Disposition: inline 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: "emacs-orgmode@gnu.org" That works! Thank you Sebastian. -- Manish On Thu, Jan 8, 2009 at 8:23 AM, Sebastian Rose wrote: > Hi Manish, > > just make the #table-of-contents limited to a certain height. 100% > should work if nothing else is higher than the visible area in the > browser. If it doesn't, use a pixel value. > > @media screen { > > /* ... all your styles here ... */ > > #table-of-contents > { > position:fixed; > width:198px; > /* add this for the height: */ > height:100%; > overflow:auto; > } > > * html { overflow-y: hidden; } > > * html body { > overflow-y: auto; > height: 100%; > padding: 0 0 0 0; > font-size: 100%; > } > > * html div#table-of-contents { position: absolute; } > } > > > Regards, > > Sebastian