- From: <kastor@europe.com>
- Date: Wed, 22 Aug 2001 05:49:11 +0800
- To: www-validator-css@w3.org
I have posted this to ciwas but got no answer. I hope you can clarify this for me. Thank you in advance. I have a page where I use the P element inside TD. This page validates as XHTML 1.0 Strict. In my CSS I have something like: td.class p, td.class ul { /* various declarations */ } Now, the CSS validator issues a warning here: "p (or ul) cannot occur within an inline element". My understanding of the specifications is that TD is a _block-level_ element which _may_ contain other block-level elements, including P. Therefor, I don't understand why I get this warning (it's not an error, it's a warning). Is this a bug in the validator (trigerred by the class on the td) or is there something that escapes me? Kastor -- _______________________________________________ FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! http://www.net2phone.com/cgi-bin/link.cgi?143
Received on Tuesday, 21 August 2001 17:49:47 UTC