Firebug is my tool of choice to fiddle with CSS. I’ll edit the elements on the page, and then copy my changes back to the .css file. Then save.
If you’re in a webapp, refreshing the page could take a while, so here’s a great way to reload the freshest copies of the stylesheets. Drag this bookmarklet link to your toolbar:
Clicking it will modify any <link rel="stylesheet"> tags and append a timestamp at the end of each href attribute, thereby dropping the cache and grabbing a new one. It’s quick and beautiful.
In the 10 years that I’ve seen dialogs like these, I’ve always clicked “No” or “Restart Later” and the software ALWAYS works. The software installs indicate it’s mandatory, but never is it functionally mandatory. Not TortoiseSVN, ISO mounting utilities, not even Microsoft Office; it always works without a reboot.
I’ve often had to set up onload events that execute for only a single page. I’ve both hardcoded those function calls right into the markup and I’ve done page detection in a shared js file (parsing the current URL, ew!). Neither solution is rather pretty. The below solution keeps things unobtrusive.
Set up the body tag with an ID that identifies the page, such as:
1
<bodyid="homepage">
Over in your javascript, set up your page init code in an object literal:
123456789101112
varsiteNameSpace={homepage:{onload:function(){// do this stuff.}},contact:{onload:function(){// onload stuff for contact us page}}};
Your document ready code executes for the same for all pages: