Maybe:
dl
dtGroup title/dt
ddGroup title/dd
ddGroup title/dd
ddGroup title/dd
/dl
Or
dl
dth3Group title/h3/dt
ddGroup title/dd
ddGroup title/dd
ddGroup title/dd
/dl
Example with
lih3.../h3/li
li.../li
not so good, because h3.../h3 isn't LIST ITEM,
it is TITLE of LIST ITEMS
On Monday 10 July 2006 16:43, pepelsbey wrote:
Maybe:
dl
dth3Group title/h3/dt
ddGroup title/dd
ddGroup title/dd
ddGroup title/dd
/dl
I think the best option would be:
dl
dth1Group title/h1/dt
ddGroup item/dd
ddGroup item/dd
ddGroup item/dd
/dl
and style
dl
dth1Group title/h1/dt
ddGroup item/dd
ddGroup item/dd
ddGroup item/dd
/dl
Unfortunately, this is invalid. You can also use block level elements in the
definition description, such as the p and ul elements. But you cannot
use block level elements inside a definition
Specifically:
!ELEMENT DT - O (%inline;)* -- definition term --
Pity : \
So... best two solutions, i think:
h1Title/h1
ul
liItem/li
liItem/li
/ul
and
dl
dtTitle/dt
ddItem/dd
ddItem/dd
/dl
or with STRONG
dl
dtstrongTitle/strong/dt
ddItem/dd
ddItem/dd
/dl
--
ะก
[EMAIL PROTECTED]
To: wsg@webstandardsgroup.org
Sent: Monday, 10 July, 2006 9:40:53 AM
Subject: Re: [WSG] List headings
Specifically:
!ELEMENT DT - O (%inline;)* -- definition term --
Pity : \
So... best two solutions, i think:
h1Title/h1
ul
liItem/li
liItem/li
/ul
and
dl
No, you would use a css ;0)On 10/07/06, Lea de Groot [EMAIL PROTECTED] wrote:
If you just want it bold you can style it that way in the CSS which I am sure you know already.pepelsbey wrote: Yep. CSS, i know ;) STRONG just for visual emphasis of DT in unstyled content.
Not so necessary, but looks
May I ask a question which to everybody else probably seems obvious?
What is the best way to associate a heading with a list?
hnList heading/hn
ul
li/li
li/li
li/li
/ul
OR
ul
lihnList heading/hn/li
li/li
li/li
/ul
this way?
The second way seems to suggest a relationship
On 7/10/06, Kat [EMAIL PROTECTED] wrote:
What is the best way to associate a heading with a list?
The second way (IMHO) suggests that the heading it itself a list item,
not the heading of the list. The first way creates an implicit
semantic link between content, as headers preceding paragraphs
This example says the the unordered list fits beneath the hn heading,
with all other content below that heading (until new heading found). But
what if I want to specify that the heading is for the list only?
XHTML2 will take care of this problem for you:
section
hHigher level heading/h
pSome