W3C home > Mailing lists > Public > www-html@w3.org > June 2005

Re: separator/seperator Re: About XHTML 2.0

From: Jim Jewett <jimjjewett@gmail.com>
Date: Tue, 7 Jun 2005 13:41:34 -0400
Message-ID: <fb6fbf5605060710416575a0c3@mail.gmail.com>
To: www-html@w3.org

Jukka K. Korpela wrote:

> So it is really a separator between _paragraphs_, not at an
> arbitrary level.

The specific manuals cited were talking about paragraphs,
but separation can apply to an arbitrary level.  It is pretty
common to put separators into menu-lists, or to indicate
that a section change is also a change in type of section.
(From the "normal" chapters to an Appendix, or copyright info.)

> An optional element like <pargroup> would express this nicely:
> <pargroup>p1 p2 p3</pargroup> <pargroup>p4 p5 p6</pargroup>

Or just use <div>.  Unfortunately, that causes its own problems.

(1)  Should lists contain list items *or divs*?

(2)  It also makes styling a bit harder.

Where I would have written

    section > section > p

I now have to remember to either write

   section > section > p,
   section > section > div > p,
   section > div > section > p,
   section > div > section > div > p

or give up the immediate-child specificity

   section section p

which ends up accidentally styling the last p of:

   section > section > section > p > table > tr > tc > p

-jJ
Received on Wednesday, 8 June 2005 01:13:40 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:19:03 UTC