I would pay to be able to edit the CSS of live sites and see the CSS take affect. I would pay but I don't have to with Firefox and the Firebug and Web Developer add-ons. I have written about Firebug before, which has been both a life saver and a productivity booster in that it gives you the ability to quickly identify elements within a design. Web Developer is an add-on I feel that I should have known about and am kicking myself for not knowing about it sooner. Besides the plethora (been waiting to use that word) of options, it gives you the ability the see and edit the CSS files affecting the page you're on and the edits affect the site live.
Using my site as an example, here is how I've learned to use it:
First, I right click the element I want to edit and select Inspect Element, which brings up Firebug at the bottom of the screen. In this case, it is the blog post title. Note that you must have Firebug installed first and have restarted Firefox.

In the screenshot above, you can see that Firebug displays the the page markup on the left and the CSS code of the selected element on the right. I take a note of the class that affects the font size, the css file it is in, and even the line.
Next, I close the Firebug screen (you can leave it open but it takes up sceen space) and right click the title again, but this time I go down to Web Developer > CSS > Edit CSS. This brings up the Web Developer CSS editor.
In the screenshot above, you can see tabs for each of the CSS files that affect the layout. The one I'm interested in is the style.css file. Here you can edit or write in any css code you want and the site will be updated live! Once you have it exactly how you want it, you simply click the save icon, save the .css file, and upload it to your host.
I know that with Firebug, you can edit sites and see the affect live but Firebug does not allow you to save the changes. You still need to copy and paste them into the .css file. With this combination, I've been able to dramatically speed up my workflow in that I don't need to open another editor (sad to not be using Coda as much) and I don't need to referesh every 30 seconds.
Update: Just want to give credit to Mark Wenzel who plays the mad scientist in the pic above. He saw this post and I want to give him credit. Click here to see the rest of his work. Thanks, Mark!
Comments
23
I don't understand why the Firebug creators don't add this feature. Should be the next step in my opinion.
by JuEgoS (not verified) | May 23, 201029
I'm not sure why since Web Developer does, but when you use both, it's not a problem.
by Ash | June 29, 201013
A little complicated, don't understand why Firebug isn't saving the edited files by default.
by JuEgoS (not verified) | May 13, 201010
it's really usefui!
by zisel (not verified) | December 10, 200902
Check out my Firebug Addon:
https://addons.mozilla.org/de/firefox/addon/52365/
It actually saves the Firebug- "touched" css files on demand to your web server (by communication with a one-file webservice php script).
Documentation can be found here:
http://www.strebitzer.at/projects/firefile/docs/
I would appreciate any bug reports, comments, ratings, discussion on this,
thanks in advance,
by Tobias Strebitzer (not verified) | December 2, 200914
Yes, your method is cool to edit css files, but if you want edit not a CSS file or a PHP element like an "div class=ja-breadcrums", how do you do it? Thanks for reply. Ben
by Ben (not verified) | November 14, 200918
It is much easier to understand your information with these your examples.
by Janet (not verified) | August 18, 200920
Thank you for this article Cooool
by idevit (not verified) | July 20, 200931
Cool!! Thanks for the tip. I'm using both right now :)
by visitor (not verified) | March 31, 2009Post new comment