Hi,
I am trying to link to a background image inside <style> tags. I want to image to stretch over the whole page.
I know that a leading / will start path in my webroot. So why is this not working?
<style>
body { margin: 0; }
canvas { width: 100%; height: 100% }
background: url('/lilegibney/images/background.jpg') no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
</style>
The file directories look like this,
Any help would be greatly appreciated. I have been trying different …/ and ./ and single and double quotes for the last hour. But nothing seems to be working.
Thanks,
Shane