This project is read-only.

Error Doctype Html

Topics: ASP.NET 2.0, Business Logic Layer, Controls, Themes
Mar 12 at 11:13 AM
when I go in View Source of my browser i see in red this first line.. Is that an Error?

__<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">__

<html xmlns="" xml:lang="en" lang="en">

Can you help me?
Mar 12 at 7:22 PM
Edited Mar 12 at 7:22 PM
It's getting that from the site.master file in your Theme. It looks like you've got an older theme which is getting flagged by your browser for being not up to current standards.

This may help:

All the best,
Mar 13 at 4:00 PM
I've looked everywhere but nothing

My site is razor theme and I have Site.cshtml ma there isn't in code... there is in view source... Where can be code??????

I found in account.master and admin.master and correct, but in default.aspx there isn't

Mar 13 at 7:22 PM
You're almost there :-)

You need to look at this file:


Where "YourThemeName" is the name of your theme.

Mar 13 at 7:29 PM
Ok I found... Thankss