Forum Moderators: open

Message Too Old, No Replies

Specifying doctype in .NET2 MasterPages

         

graviton

8:31 pm on Jun 6, 2006 (gmt 0)

10+ Year Member



Hi guys,

I'm trying to validate my pages that are using .NET2 MasterPages. the doctype is declared in the masterpage so when i view the code of individual page - the doctype is there:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">.

however, when i try to run a page through W3C validation, i get this message:
"No DOCTYPE found! Attempting validation with XHTML 1.0 Transitional."

Did anyone else run in to similar issue?

Thanks!

graviton

12:55 am on Jun 7, 2006 (gmt 0)

10+ Year Member



Please disregard my post. That's what happens when you get worked up. I was trying to validate by browsing to file. Needed (of course) to go through webserver.

:)