interpret firefox errors

Hi,

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'.

Thanks
LVL 7
minnirokAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SidFishesCommented:
i find the best way to deal with debugging includes is to load a page, save it to a file and upload it to http://validator.w3.org/

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mvan01Commented:
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
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.