It was because I had linked to an image file that was not on a https server.
There is also a way of getting IE not to display the warning. IE>Tools>Internet Options>Security and then towards the bottom, display "mixed contents" ("display dialogue" will be checked, change that to show or yes). The exact wording will be different - my machine is displaying to me in Japanese.
Text editors
Insecure warning with https
This discussion has been locked so you can no longer reply to it.