Stylesheets

CSS Trick: Force Users To See New Stylesheet

Posted by in Website Tools on August 31st, 2010 | Comment »

CSS Stylehseet Force RefreshI wanted to share a neat website trick with you that I recently came across. The problem I encountered was this: I would add new styles to my website’s stylesheet, but when I would go back to the page, I wasn’t able to see the changes that I made until I clicked refresh.

This doesn’t sound like a big deal until you realize that hundreds or thousands of people who have already visited your website will likely return to your website and will think that your website is (1) really ugly; or (2) that you don’t know what you’re doing.

You end up wishing there was a way to “force” those visitors into seeing your new stylesheet so the website looks the way it is …

Continue Reading »

Contact Us