emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rick Moynihan <rick.moynihan@gmail.com>
To: Jonathan Arkell <jonathana@criticalmass.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: [Feature Request] Sane XHTML markup for Properties and Property Drawers
Date: Thu, 3 Dec 2009 16:42:13 +0000	[thread overview]
Message-ID: <e85471e30912030842o3df6faccu32047c360efa8303@mail.gmail.com> (raw)
In-Reply-To: <C73D2E94.1E55%jonathana@criticalmass.com>

2009/12/3 Jonathan Arkell <jonathana@criticalmass.com>:
> Sure, but something like this might be even better still:
>
> <dl class=²properties²>
>  <dt>FOO</dt>
>  <dd>blah</dd>
>  <dt>BAR</dt>
>  <dd>blah blah</dd>
> </dl>
>
> You don't need the extra div around the dl, since the dl itself is a block
> element.  The extra div in this case is semantically null (and void!).

Agreed... It was late and I just bashed out the first thing that came
to mind as a starter for 10 :-)

> The Definition list is basically a set of key/value pairs anyway, so having
> the extra classes "property_key_foo" don't make a whole lot of sense.  Using
> a definition list as a series of key-value pairs is a pretty well
> established pattern of the XHTML Microformats movement.

The only reason I added the classes was to try and make things simpler
for CSS selectors to pull out specific properties.  Presumably this is
still reasonably easy with your revised defintion though?

R.

      reply	other threads:[~2009-12-03 16:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-03 15:41 [Feature Request] Sane XHTML markup for Properties and Property Drawers Rick Moynihan
2009-12-03 16:00 ` Jonathan Arkell
2009-12-03 16:42   ` Rick Moynihan [this message]

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=e85471e30912030842o3df6faccu32047c360efa8303@mail.gmail.com \
    --to=rick.moynihan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jonathana@criticalmass.com \
    /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).