How To >> Browse Articles >> Web Development

+11

Firebug is Your Best Friend

Firebug is Your Best Friend

Eric Dahl

February 14, 2008

Ever wonder how that site you like did its roll-overs, or which route they took to implement rounded corners in CSS? Or maybe you're about to take in a feed from a client's site, and you'd like to see how well they structure their pages. Well, you could pore through the source of the page, download the linked CSS files and inspect those, and trace what you can of the Javascript you can see. Or you could install Firebug.

Firebug has rapidly become my favorite Firefox extension ever. And by rapidly, I mean the first time I tried it out, it shot to the top of my rankings! Once you've got Firebug installed, you'll see a little gray slashed circle in the bottom right corner of your browser window. Right click it to turn Firebug on, then click Inspect and mouse over the page you're browsing to highlight the source behind the page and the CSS that styles it.

You can collapse the HTML tags in Firebug's main window to let you see the structure of a document and focus just on the area you're inspecting, or expand them to show you everything. The extension's CSS inspector carefully picks out every snippet of the style sheet that controls the element you're looking at, so you won't miss any inheritance. There's even a Layout view that helps you decode all the complex CSS spacing elements effecting the segment you're inspecting.

I could go on and on... The point is, if you know XHTML and CSS, Firebug will rapidly become an indispensable tool. And if you're learning CSS, you don't need much more than a code-savvy mind, a decent book, and Firebug to figure everything out.

One key point, though: If you're a frequent user of gmail, Netvibes, or other highly dynamic sites, you'll want to disable Firebug from inspecting those URLs. It works just fine, but sites like that tend to slow down if Firebug's looking at them. Load up those sites, right-click the Firebug icon at the bottom right of your browser, and choose "Disable Firebug for [sitename]".


+11
  • Suspicion-is-funny_max50

    watersigndesign

    9 months ago

    16 comments

    The article is clear, well-written. Sorry to hear you are a cubs fan. Whats w/the overstrike in Firebug's CSS section? I don't get what its trying to say.

  • Study-fail_max50

    Solly

    about 1 year ago

    4 comments

    this is a nice template, is this a joomla or a wordpress?

  • Avatar2607_1_max50

    jamesspeer

    about 1 year ago

    10 comments

    Yes, I am in love with firebug also. There are alot of other great firefox plugins as well. Live HTTP headers, user agent switcher, just do a little research and you will see why Firefox is the best web browser online.

  • 100_2138_max50

    korireed

    about 1 year ago

    2 comments

    I stumbled across FireBug quite some time ago...
    But just as you did, it shot to #1 as soon as I started to use it.
    It's an amazing tool - I'd recommend it to anyone!

  • Picture_204_max50

    ch3mi0n

    about 1 year ago

    14 comments

    Maybe should have rated the article a 4, due to the fact that it seems some of the info is out of date, but it gets the point across nicely that Firebug is an indispensable tool for any web developer/designer from beginner to expert. I also don't find that Gmail/etc have any slow-down issues with Firebug in Firefox 3.

  • Pig_max50

    EB3

    about 1 year ago

    76 comments

    Right on sliderule, I use the both together. Great tools!

  • Gilsonr_max50

    sliderule

    about 1 year ago

    14 comments

    The Firefox Firebug and Web Developer toolbar combination is indispensable for front end web development these days. If only the same tools were available for IE and Safari and all the other browsers out there, the web (as a whole) would begin to look and function so much better.

  • Meinasuit_max50

    MikeD

    about 1 year ago

    866 comments

    Great article Eric. I use Firebug religiously.

  • Portrait_max50

    slideslice

    about 1 year ago

    6 comments

    This looks very helpful, thanks.

What's the Scoop?

Post a link to something interesting from another site, or submit your own original writing for the InsideTech community to read.

Report News Here

IT Career Advice

Sf-skyline-main_sq32

Top 25 Cities for Tech Jobs

Now more than ever, it’s important to get the best bang for your buck. And there’s no question about ...

Hotcareers-250_sq32

10 Recession-Proof IT Careers

Companies are cutting back spending, shrinking staff sizes, and making tough layoffs at a rate that most of us ...

50books_sq32

50 Books Every Geek Should Read

Ever find out one of your friends hasn't read "Neuromancer" or doesn't know what a Babelfish is or why ...

Recent Activity

100_0419_max30
lynda_seagle received the quiz result of "Ahead of the Pack", 22 minutes ago.
Photo_user_blank_big
Psikez gave a thumbs down to The Article "Study: Firefox Most Vulnerable Browser, IE8 Among the Safest", about 1 hour ago.
Photo_user_blank_big
Psikez gave a thumbs down to The Article "Why Many Stores No Longer Accept Personal Checks", about 1 hour ago.
Photo_user_blank_big
Psikez gave a thumbs down to The Article "IT Ethical Dilemma: To Use or Not to Use Neighbor's Free ...", about 1 hour ago.
Photo_user_blank_big
Psikez commented on: "Why Many Stores No Longer Accept Personal Checks", about 1 hour ago.