|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
XHTML <TABLE> element problem.
I'm trying to validate my XHTML-generated site, but I'm getting the following errors:
document type does not allow element "table" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag I also get the error for <hr width=...> tags, and <center> tags. Below is a sample of my XHTML: <p> <a name="top" /> <table width="100%"> <tr> <td align="center">Jump To: <a href="#section1">Section 1</a></td> </tr> </table> ... </p> Obviously this isn't ALL of my output XHTML, but it IS where it's failing. It'll give me the error on the <table> tag on the fhird line. Any ideas why this is happening, or how to get around it? Thanx, - coredumped. |
|
#2
|
|||
|
|||
|
Maybe you can't put <table> inside <p>.
|
|
#3
|
|||
|
|||
|
You're right... turns out you CAN'T nest a <table> element inside a <p> element. I tested it this morning and it works fine now. Dunno why, but I'm sure there's a reason for it. :/
- coredumped. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > XHTML <TABLE> element problem. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|