Forum Moderators: open
The problem is now that is really plays havok on my validation of the site.
I get these errors:
Line 113, column 2: "DOCTYPE" declaration not allowed in instance
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or
^
Line 114, column 42: document type does not allow element "html" here (explain...).
<html xmlns="http://www.w3.org/1999/xhtml">
Thos elines of code are not even there on line 113 or 114 when I look at my code - line 112 has my SSI - <!--#include virtual="copyright.html" -->
If this has been discussed before I apologize. :)
Shawn
So if you have a file with two complete sets of headers and try to include one within the other, then you are causing you own validation error. The validator and all users see whatever you see when you view the page and then VIEW the source from the browser.