Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Safari not reloading changed CSS file

    Hi - title says it all. I'm working on a website and I make a change to the CSS file but safari stubbornly refuses to render the change. I was finding the same problem with Chrome until I added added a parameter to my file call thus:

    <link rel="stylesheet" href="index.css?parameter=1" type="text/css" />

    I'm working in Mac (textwrangler is my editor) and testing in Chrome and Safari on Mac, and Chrome and IE on Windows 7.

    Of the four, Safari on Mac is the only one that won't reload the CSS!

    Obviously this doesn't matter much on my machine, but is there anything else I can do in my code to force my viewers' machines to reload the CSS?

    thanks in advance,
    David

    Mac OSX Lion
    Safari 5.1.7

  • #2
    New to the CF scene
    Join Date
    Jun 2012
    Location
    Portland, OR
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Macintosh I've been there, too!

    Sometimes you just need to specifically call out a browser by name so it will render properly. For instance, -webkit-animation, -webkit-appearance, -webkit-border-radius, etc. You may be able to find a quick video tutorial on this over on CSSReset, which is where I tend to find good answers to issues like this.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •