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