Re: Question on DFN

David,

 > >  LI { display: inline }
 > 
 > But then, what happens to the bullets/numbering? The relevant properties
 > only apply to display type list-item. By declaring LI to be inline, bullets
 > and numbering no longer apply

True.

 >  and the element becomes functionally
 > equivalent to SPAN.

No. It becomes presentationally eqivelent to SPAN, but structurally it
remains a list.

Having a way to generate content through a style sheet would make it
possible to change the presentation as well. E.g.:

  LI { 
    display: inline
    before: "[";
    after: "]"
  }

This didn't make it into CSS1 but is still on our lists, so to say.

Regards,

-h&kon

H      k   o   n      W   i   u   m       L   i   e
howcome@w3.org   W o r l d   Wide  W e b  Consortium
inria # FRANCE http://www.w3.org/people/howcome

Received on Monday, 6 October 1997 13:32:25 UTC