Search code examples
htmlcssgoogle-chromewebstylesheet

Chrome not reflecting css on my pc but other chromes are working correctly


I am currently working on styling of ui on a site and am doing the development on my desktop. Currently a problem came about where the chrome on my desktop is not reflecting my updated css correctly, but it does display my updated css correctly on chrome of other devices.

I did some research and some said to use CTR + F5 and it will reload the updated css but it is not working.

Does anyone know how to resolve this issue? Or even what may be causing the issue?

Any help is much appreciated!

Thanks, Baraa


Solution

  • So if anyone ever has issues with their CSS files not being displayed as intended, follow the following checklist,

    • Clear your cache, in the OP's case, http://support.google.com/chrome/answer/95582?hl=en.
    • Check your development/deployment URL and make sure you're looking at the right piece o' code.
    • Get firebug and check the file in the DOM viewer, https://getfirebug.com/.
    • Get away from your desk and grab a breather, you'll be surprised how many questions solve themselves shortly after!