Forum Moderators: phranque
document type does not allow element "table" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
the actual line of code is
echo "<table width=\"550\" align=\"center\" cellpadding=\"2\" border =\"1\" bgcolor=\"#ecf2f9\" class=\"MatchDetails\">"; I have tried putting everything except the table tag in the css and not had any joy.
This problem only happens on the pages with php in them , plain XHTML pages have validated without any problems, well, nothing that couldn't be corrected. :)
If anyone has any suggestions I would be grateful.
Thanks
Medaci.
Check the output of your php script. This thread may be of use in tracking down the problem:
[webmasterworld.com...]
Having just spent a good half hour writing a reply showing all the various code, source and browser, I came across a <p> just outside my PHP code and removed it for neatness sake, and yes you guessed it the damn think went and validated. YIPPEE!
Just wish I'd found it sooner.
Still that's my lesson learnt for today,
Don't put a paragraph tag outside your PHP code or it won't validate.
Hhmm lesson well learnt methinks.
Thanks
Medaci