interpret firefox errors

Posted on 2006-04-16
Last Modified: 2010-04-09

Is there any helpful way to interpret javascript/html errors that are reported by the firefox browser? I will get some dumps like:

Error: Error in parsing value for property 'width'.  Declaration dropped.
Source File: http://localhost/website/TryIt.php#
Line: 0

In TryIt.php I have a bunch of includes, and it looks like the line number reports are kinda useless. Like there is nothing at line 0 relating to 'width'.

Question by:minnirok
    LVL 36

    Accepted Solution

    i find the best way to deal with debugging includes is to load a page, save it to a file and upload it to

    use the advanced options to show source and you can see the instance of the error in the whole page
    LVL 11

    Assisted Solution

    If you put your includes in-line, for testing, then the line numbers in error reports begin to make sense.  Debug like that, and then put the corrected code back into the includes.  Also, even if you know the included files are good goods, you will be able to debug the parts in your main file which are tossing the errors.

    I know combining the files is tedious, and maybe even error-prone itself, but it generally works.  I'm not sure, does using validator as describe above require all of the code in one file anyways?

    Peace and joy.  mvan

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    Introduction This warning has to be one of the most commonly issued warnings in the history of PHP.  The article explains why this warning arises and what to do to mitigate the problem. How this Happens HTTP headers include many different kinds…
    SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
    In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
    The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now