From mboxrd@z Thu Jan 1 00:00:00 1970 From: roc lee Subject: Re: Re: Export as HTML Date: Mon, 30 Mar 2009 19:59:02 +0800 Message-ID: References: <87hc1bwfsq.fsf@mundaneum.com> <61ECBCBA-4963-4435-82BD-BAA37A03FC50@gmail.com> <874oxbntjf.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LoG90-0006SC-7s for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 07:59:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LoG8u-0006QZ-QT for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 07:59:09 -0400 Received: from [199.232.76.173] (port=55360 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoG8u-0006QW-Ku for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 07:59:04 -0400 Received: from rv-out-0708.google.com ([209.85.198.245]:13997) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LoG8u-0005le-3A for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 07:59:04 -0400 Received: by rv-out-0708.google.com with SMTP id f25so2912835rvb.6 for ; Mon, 30 Mar 2009 04:59:03 -0700 (PDT) In-Reply-To: <874oxbntjf.fsf@mundaneum.com> 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: emacs-orgmode@gnu.org 2009/3/30 S=E9bastien Vauban > > Hi Carsten, > > Carsten Dominik wrote: > > On Mar 30, 2009, at 10:55 AM, S=E9bastien Vauban wrote: > >> Hello, > >> > >> Trying to use free CSS templates for some Web site, I have layout prob= lems > >> with the current export to HTML, as a first `
' is > >> hard-coded > >> into the resulting Web page. > >> > >> Could you remove that line, and its closing tag from `(insert > >> "\n
\n\n\n"))' (in function `org-export-as-html') s= o that > >> we have a completely naked BODY, that the user can fill at its own fre= edom > >> via > >> the preamble/postamble? > > > > Why and how is this
limiting what you can do? > > I took a free CSS template at: > > =A0 =A0http://www.free-css.com/free-css-templates/page2/minisite-pro.php > > If I want to use it without modifying it, I have to follow such a constru= ct > (taken from their live demo): > > --8<---------------cut here---------------start------------->8--- > >
> =A0
> > =A0 =A0

Free CSS

> =A0 =A0

Free CSS Templates, CSS Layouts & More!

> =A0 =A0 > =A0
> =A0
> =A0 =A0 > > =A0
> =A0
> =A0 =A0 > =A0
>
> --8<---------------cut here---------------end--------------->8--- > > Having
directly under the BODY tag messes up everyth= ing. > > > > It was recently introduce precisely to aid CSS formatting > > of the entire body. > > For me, it seems easier to have a completely naked body, by default, and = let > the user decide, follow or copy a guideline to implement the nice CSS he = wants > to. > > Currently, I had to modify the source code to get the same effect as the = one I > want. This is the basic structure for your intended html files :
And "content" div has its special format in your style sheet. When a unexpected "content" div comes in, it messes up everything:
I agree with you. To give user a nacked body should be better. Or use a long, no-conflict name is also OK :) BR > > Sebasian (Rose) and Richard, you helped making getting > > the outer div into place, would you care to comment? > > Best regards, > =A0Seb > > -- > S=E9bastien=A0Vauban > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode