Thanks Paul, and Eugenio

I did validate the code (no errors). I'm just checking to see if there's something I missed, trying to understand why Visual Studio would report an error.



On Feb 22, 2007, at 12:32 PM, Patrick H. Lauke wrote:

Rolf SF wrote:
I can't seem to find a definitive answer on whether it's valid to include a span within a caption in a table. A colleague mentioned that Visual Studio has thrown a warning: Element 'span' cannot be nested within element 'caption'

According to the HTML 4.01 DTD, caption can contain inline elements. As span is an inline element, you should therefore be fine.

<!ELEMENT CAPTION  - - (%inline;)*     -- table caption -->

If you're unsure about this sort of thing, run your output through the W3C validator...

--
Patrick H. Lauke



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to