Firebug for CSS Troubleshooting

Leave a comment

October 12, 2010 by huionn

Today while I was trying to figure out (confusing) CSS precedence rules, I discovered a useful feature of firebug.

Right click any element and click “Inspect Element” in the context menu, a firebug window like above will be shown. In the right hand side Style panel, it shows the style precedence graphically. Overridden styles are strike-through. Computed and Layout can also ease up CSS troubleshooting effort.

Btw, the web page shown is which is a detailed guide to understand style precedence in depth.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: