Welcome, Guest. [ Log In ]
Question   I'm having a problem with a CSS file. Changes to it don't seem to take. Help?
Search KBase


Top 2 in this Area:
1. What is CSS, and do you support it?
2. I'm having a problem with a CSS file. Changes to it don't seem to take. Help?

 
I'm having a problem with a CSS file. Changes to it don't seem to take. Help?
If you've successfully uploaded your .css files to our server, and the changes don't seem to be appearing in your web browser, really the only thing it can be is a problem with your local cache.

Your web browser stores files locally so it doesn't have to connect to the web each time you want to see them. A lot of browsers seem to do this a bit too well, especiall when it comes to CSS. Sometimes not even reloading or shift-reloading the web page will result in you seeing the new CSS information. You might have to go to your browser's preferences and empty your whole cache to force the refresh of the CSS changes.

One other thing you can do, at least while developing, is put the CSS info directly into the HTML file, rather than in its own .css file. This usually fixes the caching problem, and once you've got your cascading style sheet just right you can again break it out into its own text file.

Last updated: Apr 20, 2001.