Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Re: separator abuse

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Tue, 31 May 2005 21:33:43 +1000
Message-ID: <429C4B97.3010306@lachy.id.au>
To: Mikko Rantalainen <mikko.rantalainen@peda.net>
CC: www-html@w3.org

Mikko Rantalainen wrote:
> I consider <group> to be too generic to be used to group paragraphs with 
> the same context. I'd settle with using just <group>  between <section> 
> and <p> but I think <div> isn't a good enough choice.

Why not <div> or <section> with an appropriate role attribute to provide 
its semantics?

> That still leaves us with the <nl> separator problem. The solution 
> suggested in 
> http://lachy.id.au/log/2005/05/separator-elements#sep-example-7  looks 
> logically almost perfect but the intended rendering (menu items 
> separated by horizontal lines) is really hard to infer from such 
> structure. The logic should be
> 
> "Draw a horizontal line between two <li> elements if they're childs of 
> <nl> element and both contain <ul> element as their only child."

My intention was that the <ul> elements would be styled with the border 
(or other seperator), rather than their parent <li> elements.  If, for 
some reason, that's not feasible for the design, then adding a class 
attribute to identify the list items for styling is fairly harmless. eg.

   <li class="group">
     <ul>
       <li>...</li>
       <li>...</li>
     </ul>
   </li>

-- 
Lachlan Hunt
http://lachy.id.au/ 
Received on Tuesday, 31 May 2005 11:33:52 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.