From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: HTML Postamble is inside Content DIV Date: Fri, 08 Jul 2011 09:36:04 +0200 Message-ID: <8039ih6x7f.fsf@somewhere.org> 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Pierre, Any objection for applying this patch? Pierre de Buyl wrote: > I checked and indeed "content" is working well. > > Pierre > > Le 1 juil. 11 =C3=A0 16:06, Sebastien Vauban a =C3=A9crit : > >> Hi Pierre, >> >> Pierre de Buyl wrote: >>> Le 28 juin 11 =C3=A0 23:45, Sebastien Vauban a =C3=A9crit : >>>> Here is thus my proposition for a better div-structured HTML. >>>> >>>> There are only four parts required in the HTML for all the magic to wo= rk >>>> with the CSS: >>>> >>>> - The first part is a container div ("content", by default) that surro= unds >>>> 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 postam= ble. >>> 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 setu= p. >>> >>> Here is my setup: >>> :html-preamble " >>>
>>>
>>> HERE, some static menu items. >>>
>>> " >>> :html-postamble " >>>
>>> " >> >> Why are you adding a `wrapper' div in the already existing `content' div >> (that >> surrounds everything). I see no real difference between both. >> >>> I tried without that extra div and I cannot reproduce my former layout. >> >> Would you apply your CSS rule onto `content', would that make a diff? Best regards, Seb --=20 Sebastien Vauban