Error Doctype Html

Topics: ASP.NET 2.0, Business Logic Layer, Controls, Themes
Mar 12 at 10:13 AM
Hello
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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">__

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

Can you help me?
Mar 12 at 6:22 PM
Edited Mar 12 at 6: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: http://stackoverflow.com/questions/10775005/why-firefox-highlights-html-transitional-doctype-in-red

All the best,
Simon
Mar 13 at 3: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

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

You need to look at this file:

../Custom/Themes/YourThemeName/Site.Master

Where "YourThemeName" is the name of your theme.

Simon
Mar 13 at 6:29 PM
Ok I found... Thankss