audibleCode

a code repository for codes that you don’t have enough words to describe

Efficient and easy way to debug CSS

leave a comment »

If you’ve been working with CSS for some time, you’ve probably spent a fair bit of time debugging seemingly untractable problems that turn out to have a very simple solution.

The question: What can we do to debug our CSS faster? is there a streamlined way of debugging CSS.

Okay i want to share with you some few tips that i use in my CSS debugging

1.Validate your CSS

You may know the CSS spec inside and out, but this should still be one of your first steps. A CSS validator doesn’t just check to make sure you’ve been using the correct properties. It will also produce errors for most typos, like missing a quotation mark or a semicolon.

And discovering after hours of debugging that the problem was a missing quotation mark would be a bit embarrassing wouldn’t it? 

2. Firefox Addons

Firefox is the developer’s browser. Use firefox addons to display and work on your CSS. Some of the addons i use are as follows:

3.Use these addons to display all the various div, tables etc in your CSS. The CSS viewer will give to access to the various CSS used for any side that you hover your mouse over.
The rest of the is very easy to use. The web developer tool bar is one of the best. Try it.

 

Written by audiblecode

May 22, 2008 at 11:09 pm

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Connecting to %s

Follow

Get every new post delivered to your Inbox.