• Hello,

    I have been using firebug to try and work out what is wrong with this page:- Doc Type error

    All it says is there is a problem with the Doc Type but check it and its fine????

    WHat else could be wrong? Thanks in advance for help.
    ##

Viewing 3 replies - 1 through 3 (of 3 total)
  • you have 2 doctypes declared

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

    <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">

    Thread Starter krad

    (@krad)

    ok fixed that problem but in IE 8 I get error on page with java script? Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; FDM)
    Timestamp: Mon, 10 May 2010 19:35:25 UTC

    Message: Syntax error
    Line: 1
    Char: 1
    Code: 0
    URI: http://www.leapfrogpr.com/Public_Relations_Agency_Press.php/Scripts/AC_RunActiveContent.js

    Now I have tested the page with firebug and seems fine?? very odd.

    This line should have a slash before /Scripts. Otherwise it will try to load the javascript relative underneath where it doesn’t exist. As you can see when accessing the URI in the error you posted.

    <script src="/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Doc Type problems’ is closed to new replies.