From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre de Buyl Subject: Re: HTML Postamble is inside Content DIV Date: Wed, 6 Jul 2011 08:49:16 +0200 Message-ID: References: <80mxj8g0wl.fsf@somewhere.org> <80ei4gdoe7.fsf@somewhere.org> <801uzeu2b6.fsf@somewhere.org> <808vslr5ox.fsf@somewhere.org> <0903D18D-AB13-430D-81EF-93421BDB7D01@ulb.ac.be> <80y60iumbh.fsf@somewhere.org> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeLvI-00023x-4C for emacs-orgmode@gnu.org; Wed, 06 Jul 2011 02:49:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QeLvG-00022X-UW for emacs-orgmode@gnu.org; Wed, 06 Jul 2011 02:49:24 -0400 Received: from mxin.ulb.ac.be ([164.15.128.112]:30196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeLvG-00022R-Q5 for emacs-orgmode@gnu.org; Wed, 06 Jul 2011 02:49:22 -0400 In-Reply-To: <80y60iumbh.fsf@somewhere.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastien Vauban Cc: emacs-orgmode@gnu.org Hello, I checked and indeed "content" is working well. Pierre Le 1 juil. 11 =E0 16:06, Sebastien Vauban a =E9crit : > Hi Pierre, > > Pierre de Buyl wrote: >> Le 28 juin 11 =E0 23:45, Sebastien Vauban a =E9crit : >>> Here is thus my proposition for a better div-structured HTML. >>> >>> There are only four parts required in the HTML for all the magic =20 >>> to work >>> with the CSS: >>> >>> - The first part is a container div ("content", by default) that =20 >>> surrounds >>> everything. >>> >>> - Inside that are three more parts: >>> + a preamble (in a div, if the user wants it), >>> + a div "body" and >>> + a postamble (in a div, if the user wants it). >> >> I think my regular use of the html export would be broken. > > We'll try to solve that, then. > >> I add a
in the preamble and a
in the =20 >> postamble. >> This allows me to make a "boxed" page (see >> http://homepages.ulb.ac.be/~pdebuyl/ ) which I like. >> >> If I cannot end my div in the postamble, I think it would break my =20= >> setup. >> >> Here is my setup: >> :html-preamble " >>
>>
>> HERE, some static menu items. >>
>> " >> :html-postamble " >>
>> " > > Why are you adding a `wrapper' div in the already existing =20 > `content' div (that > surrounds everything). I see no real difference between both. > >> I tried without that extra div and I cannot reproduce my former =20 >> layout. > > Would you apply your CSS rule onto `content', would that make a diff? > > Best regards, > Seb > > --=20 > Sebastien Vauban > >