emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] HTML Postamble is inside Content DIV


From: Pierre de Buyl
Subject: Re: [O] HTML Postamble is inside Content DIV
Date: Fri, 8 Jul 2011 11:28:04 +0200

Not at all.

Pierre

Le 8 juil. 11 à 09:36, Sebastien Vauban a écrit :

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 à 16:06, Sebastien Vauban a écrit :

Hi Pierre,

Pierre de Buyl wrote:
Le 28 juin 11 à 23:45, Sebastien Vauban a écrit :
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 work
with the CSS:

- The first part is a container div ("content", by default) that 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 <div id="wrapper"> in the preamble and a </div> in the 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 setup.

Here is my setup:
         :html-preamble "
   <div id=\"wrapper\">
   <div id=\"menu\">
   HERE, some static menu items.
   </div>
"
         :html-postamble "
   </div>
"

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

--
Sebastien Vauban






reply via email to

[Prev in Thread] Current Thread [Next in Thread]