Sent by Adam Kuehn on 28 June 2004 16:04
Bob Easton wrote:
>Simply, you can't have a list inside a paragraph. Now, instead of
>wrapping that list in a semantic-free div, why not just close the
>paragraph above the list and start a new one afterward?
I know that this is true, but I have never been able to figure out
*why* this is true. Consider the following:
"Yesterday, I went to the store. At the store I bought eggs, milk,
cheese, and bread. When I came home from the store, I discovered
that all the eggs were broken and the bread was moldy, so I couldn't
have lunch."
It looks to me as though that is a three-sentence paragraph with a
list embedded in the second sentence. Semantically, it makes no
sense to call it two paragraphs with a list between them. So why
does (X)HTML prohibit a list inside a paragraph? Am I missing
something really basic?
Obviously, this has nothing to do with CSS except in a theoretical
sense, so if anyone has that answer, please give it to me off-list.
Thanks,
--
-Adam Kuehn
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/