That's a cool trick to reset the CSS.

While it hasn't made it into a release version yet, Firediff has
support for reverting changes throughout the page, both CSS and DOM
changes. If you are adventurous you can play around with the
development version by pulling the source at
http://fbug.googlecode.com/svn/diff/branches/firediff1.0 otherwise I
hope to release an alpha version in the next week or so.

Any release announcements for Firediff will be made on the feed for
http://www.incaseofstairs.com as well as other locations related to
Firebug.

On Sep 18, 5:41 pm, Graham J <[email protected]> wrote:
> When developing heavily ajaxy web apps, it can be a real pain to
> iterate on CSS. The 'tweaking' in Firebug is of course invaluable, but
> every now and then the changes need to be committed to metal. At this
> point, it would be great to be able to get the 'real' CSS displaying
> on the page without losing the state of the page scripts.
>
> I've worked on several projects now, and for this reason, one of the
> first debug features I create is a 'reload CSS' button that will
> refresh the CSS files without refreshing the page.
>
> This feature seems like it would be a good, small addition to Firebug,
> in, say, the dropdown on the CSS tab.
>
> I don't know if this helps at all, but the way I do it right now, is
> simply rewrite any stylesheet <link> tags to append a random string as
> a parameter (such as the current time), like so:
>
> <line rel="stylesheet" href="styles.css">
> becomes
> <link rel="stylesheet" href="styles.css?123456">
>
> Firefox seems to handle the rest.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to