Ask questions via twitter! Message any question to @answers on twitter. We'll publish the question and send you a reply each time there's a new answer.
Next Question

Answered Question

 
January 04, 2009 11:40 PM

How would I go about debugging my website?

How would I go about debugging my website which works fine using either Internet Explorer Version 7 or Firefox Version 1 browsers, but displays completely wrong when using Firefox Version 3?
Interesting Question?  Yes (0)   No (0)   
RSS
 
 

Best Answer  Chosen by Asker

 
January 05, 2009 12:13 AM
You might want to install the Firebug extension for Firefox, it can help you track down and "crawl" the website and its objects and hopefully find any weirdness that might be causing the anomalies you're seeing.
Source(s):
https://addons.mozilla.org/en-US/firefox/addon/1843

Asker's Rating:
• While all of the answers are helpful, I have selected this answer because it is the most helpful in finding my particular bug.

My bug seems to be related to Javascript Version 1.8. Something in the Javascript 1.7 to Javascript 1.8 upgrade broke my website. I think it is a security related problem


Helpful Answer?  (2)   (0)    Tip darth continent for this answer
Permalink | Report
   Reply  
 
 
 
January 05, 2009 01:07 AM
Thanks Firebug looks useful. I have installed and I am trying it out.

Report
 
 
 
January 05, 2009 01:17 AM
From the Console tab in Firebug, you can turn on displaying different types of errors (like CSS errors, and Javascript errors).

It's also very useful to use the "Inspect" function. Click on the Inspect menu, and then click on an element in the page that you think is not displaying correctly. Look on the right for the styles that apply to that element.

Also on the right, click the "Layout" tab - that's an invaluable tool to show what the computed "Box Model" settings are for an element's margins and padding values.

Good luck!

Report
 
 

Other Answers (2)

Sort By
 
January 04, 2009 11:56 PM
It's definitely helpful to run it through http://validator.w3.org/

Helpful Answer?  (1)   (0)    Tip ultimate for this answer
Permalink | Report
   Reply  
 
 
 
January 05, 2009 12:04 AM
I have already done that and fixed all the errors (except for a couple which I think aren't important).

Report
 
 
 
January 06, 2009 06:36 PM
If you're using CSS, the usual way I debug CSS is, remove ALL CSS statements, then add them back, one by one, until you find the one that causes the problem.

Alternatively (or in conjunction) you can set up "weird" background-colors for various areas in your html (like divs or tds or ps or ...whatever) to determine which one is causing the problem - you may have to deal with odd margins or padding - most likely - for floated elements! FF3 changed its observance of CSS from 2 to full 3 to pass the "ACID3" test.

Helpful Answer?  (1)   (0)    Tip fjpoblam for this answer
Permalink | Report
   Reply  
 
 
 
January 07, 2009 12:22 AM
Thanks. Your suggestion is helpful. But, the particular problem I am having appears to be a Javacript 1.8 problem.

Report
 
 

Answer this Question

How tips and payments work

This question has already been resolved. You may add an answer to it but you will not be eligible to win best answer or any associated tips.

Ask a Question


140 characters left
Top of Page
Buy Mahalo Dollars with Credit Card or PayPal

Top Members

This Week All Time
  • cfinke
    cfinke
    2nd Degree Black Belt
    26536 Points
    M$29.75 Earned
  • opher
    opher
    Purple Belt with a Brown Tip
    5371 Points
    M$215.59 Earned
  • thisjustme
    thisjustme
    Green Belt
    1143 Points
    M$76.05 Earned
   See All
 

Most Popular Tags

mahalo(1725)
music(492)
iphone(479)
google(376)
food(332)
online(330)
beer(282)
money(278)
movies(275)
apple(256)
aotd(235)
health(226)
video(219)
free(219)
dog(209)
   See All
 

Categories

Welcome New Members


 
 
Mahalo Dollars are the currency of Mahalo Answers.

Each Mahalo Dollar costs $1.

Once you earn more than 40 Mahalo Dollars, you can request to be paid via PayPal. Each Mahalo Dollar is currently worth $0.75 when paid out via PayPal. Learn More

 
 

Please log in to use this function.