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
__________________________________________________________
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
__________________________________________________________
Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
__________________________________________________________


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

Reply via email to