emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: cezar@mixandgo.ro
To: emacs-orgmode@gnu.org
Subject: Re: Html export suggestion (use of <div>)
Date: Sat, 06 Oct 2007 11:25:00 +0300	[thread overview]
Message-ID: <874ph4wsyr.fsf@myhost.localdomain> (raw)
In-Reply-To: 20071005215715.21604ade@newmanfamily.me.uk

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

  reply	other threads:[~2007-10-06  8:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-05 20:57 Html export suggestion (use of <div>) Mike Newman
2007-10-06  8:25 ` cezar [this message]
2007-10-08 20:00   ` Mike Newman
2007-10-09  7:56     ` cezar
2007-10-08 21:04   ` William Henney
2007-10-09  8:03     ` cezar
2007-10-08 13:05 ` Dmitri Minaev
2007-10-15 22:08 ` Mike Newman
2007-10-17  9:13   ` Carsten Dominik
2007-10-17 10:40     ` Bastien
2007-10-18 13:00       ` cezar
  -- strict thread matches above, loose matches on Subject: below --
2007-10-10 13:31 cezar
2007-10-10 14:36 ` cezar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874ph4wsyr.fsf@myhost.localdomain \
    --to=cezar@mixandgo.ro \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).