Re: [WSG] Marking up lists with title

2005-06-17 Thread Iain

Hi Chris,

Personally I'd use a header of an appropriate level within the document. So:

h1Document Title/h2

pBlah blah blah blah/p

h2List Title/h2

ul
liIt's big/li
etc...
/ul

Cheers,

Iain

Chris W. Parker wrote:

Hello,

What is the recommended way to mark up a list that has a title? Normally
I do:

pFeatures:/p

ul
 liIt's big/li
 liIt's heavy/li
 liIt's wood/li
/ul

Is there a better way to do that?



Chris.
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**




**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] Marking up lists with title

2005-06-17 Thread Ben Curtis



What is the recommended way to mark up a list that has a title?


With better IE support, I might do:

ul title=Features
 liIt's big/li
 liIt's heavy/li
 liIt's wood/li
/ul

...and then style it something like:

ul[title]:before {
display:block;
content:attr(title);
}

But, as it is, I suggest:

div
h1Features:/h1
ul
 liIt's big/li
 liIt's heavy/li
 liIt's wood/li
/ul
/div


Replace h2 with 2,3,4,5,6 as appropriate. The only drawback to this, I 
think, is that you are saying the heading is for the section, and the 
section contains a list -- not that the heading is for the list.


--

Ben Curtis : webwright
bivia : a personal web studio
http://www.bivia.com
v: (818) 507-6613



**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] Marking up lists with title

2005-06-17 Thread Patrick H. Lauke

Chris W. Parker wrote:


pFeatures:/p

ul
 liIt's big/li
 liIt's heavy/li
 liIt's wood/li
/ul


At the risk of sparking another cry of outrage and subsequent 
discussions, you could use the (badly defined) definition list construct 
instead:


dl
  dtFeatures:/dt
  ddIt's big/dd
  ddIt's heavy/dd
  ddIt's wood/dd
/dl

P
--
Patrick H. Lauke
_
redux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] Marking up lists with title

2005-06-17 Thread Iain
*Huge* fan as I am of definition lists, I fear this may be taking it 
just that little bit too far.  ;)  Chris is, after all, marking up a 
list title.  A definition title and its subsequent definition suggests a 
much tighter and narrow scope than a general title gives.


Whoops, here comes the massive and earnest discussion after all...

Iain

Patrick H. Lauke wrote:

Chris W. Parker wrote:


pFeatures:/p

ul
 liIt's big/li
 liIt's heavy/li
 liIt's wood/li
/ul



At the risk of sparking another cry of outrage and subsequent 
discussions, you could use the (badly defined) definition list construct 
instead:


dl
  dtFeatures:/dt
  ddIt's big/dd
  ddIt's heavy/dd
  ddIt's wood/dd
/dl

P


**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



RE: [WSG] Marking up lists with title

2005-06-17 Thread Chris W. Parker
Iain mailto:[EMAIL PROTECTED]
on Friday, June 17, 2005 1:28 PM said:

 *Huge* fan as I am of definition lists, I fear this may be taking it
 just that little bit too far.  ;)  Chris is, after all, marking up a
 list title.  A definition title and its subsequent definition
 suggests a much tighter and narrow scope than a general title gives.
 
 Whoops, here comes the massive and earnest discussion after all...

Hmm... Yes I see what you're saying. However, since there seems to be no
straight answer to this I'm inclined to think that any of the three
given options would suffice.



Thanks,
Chris.
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**