From mboxrd@z Thu Jan 1 00:00:00 1970 From: cezar@mixandgo.ro Subject: Re: Html export suggestion (use of <div>) Date: Sat, 06 Oct 2007 11:25:00 +0300 Message-ID: <874ph4wsyr.fsf@myhost.localdomain> References: <20071005215715.21604ade@newmanfamily.me.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org> Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ie50t-00018u-SZ for emacs-orgmode@gnu.org; Sat, 06 Oct 2007 04:27:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ie50t-00018i-Gt for emacs-orgmode@gnu.org; Sat, 06 Oct 2007 04:27:55 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ie50t-00018d-AK for emacs-orgmode@gnu.org; Sat, 06 Oct 2007 04:27:55 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1Ie50s-0000tL-UZ for emacs-orgmode@gnu.org; Sat, 06 Oct 2007 04:27:55 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ie50a-0002hm-OI for emacs-orgmode@gnu.org; Sat, 06 Oct 2007 08:27:36 +0000 Received: from dyn-86.105.65.100.tm.upcnet.ro ([86.105.65.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <emacs-orgmode@gnu.org>; Sat, 06 Oct 2007 08:27:36 +0000 Received: from cezar by dyn-86.105.65.100.tm.upcnet.ro with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <emacs-orgmode@gnu.org>; Sat, 06 Oct 2007 08:27:36 +0000 List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=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 Mike Newman <mike@newmanfamily.me.uk> writes: > I had wondered if there was any value in wrapping the html export in > <div> </div> sections to match the structure of the org file. > > For example, rather than: > > <h2><a name="sec-1">1 Heading</a></h2> > <p>Text > </p> > <h3><a name="sec-2">1.1 Subheading</a></h3> > <p>More text > </p> > <h3><a name="sec-3">1.2 Further subheading</a></h3> > <p>Still more text > </p> > I have not yet used this feature, but I am working with html/css all day, so here is my opinion: 1. You shouldn't use more divs than you need to, and you don't need them. 2. You shouldn't use divs for presentation's sake. Why not make each subsection a different class or sumthin. 3. I think the way it's handled right now is better than your example. Cheers, Cezar