Forum Moderators: open
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " [w3.org...]
<html xmlns="http://www.w3.org/1999/xhtml">
I get…
<html xmlns="http://www.w3.org/1999/xhtml">
It's rather embarrassing for me as it causes the page to fail validation—and who knows what else. To make matters worse I just submitted it to a bunch of galleries (it passed validation locally and on my test site) and now I look like a fool.
Anyone know what's going on here and how to fix it?
[edited by: tedster at 2:27 am (utc) on Jan. 14, 2008]
[edit reason] no urls please [/edit]
The files are hosted on domain-a and domain-b is masking them—and removing my doctype. Why this happens is probably a better question.
This does not remove the DOCTYPE from your page, but you are probably viewing the source of the framed page which may not have a DOCTYPE? If anything, it should perhaps have the following:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
Your actual page within the frameset should still have the DOCTYPE that you gave it?! Likewise, the rendering of the page should be unaffected?!
Presumably, however, you chose to use domain masking (or 'framed forwarding')...?