On Wed, Nov 5, 2008 at 1:45 PM, Jukka K. Korpela <[EMAIL PROTECTED]> wrote:
> Drew Trusz wrote:
>
>> No an ordered list can't have a "disc" and an unordered list can't be
>> numbered.
>
> Of course they can. Whether you should style them that way is debatable, but
> surely you can, by the specs and in practice.
>
>> When in doubt read the specs:
>
> HTML specs only specify a suggested default rendering of documents, even
> though they may nominally sound like saying otherwise.
>
> And CSS specs explicitly say that all elements have all properties. You can
> set them to any values you like. Not all properties have visible effect in
> all situations, but this depends on CSS specs, not HTML specs.
>
> For example, you can style a list so that it has neither numbers nor
> bullets, or you can style non-list elements in a list-like manner. Again,
> this might not be a wise move, but it's surely possible.


You are so right! An author can use css to invert, divert or pervert
html and vice versa. And yes indeed specs are really suggestions not
requirements.

But if you are unsophisticated, simple-minded and pretty much literal
about specs like me, then the answer to Doug's question of why you
can't use any list style on any list item is that the rules (the
suggestions) say a list of a particular type has a specific meaning
and should be rendered in a certain way. From this perspective, using
styles properly reserved for one list on another list type is a no-no.

But hey, if  really wanted to, you could do an entire page as a series
of lists. Mix and match as you wish.

drew
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to