Re: separator/seperator Re: About XHTML 2.0

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