How To Auto-Resize Background Image
-
So I have a splash page that has a background image that automatically resizes to the browser width. And I want to use a variation on that image as the background of my blog. But I want it to function the same way. Here’s the css I used on the splash page…
html { overflow: hidden; } #background { width: 100%; position: absolute; top: 0; left: 0; }
In the index.html file I placed the background image in a div with id=”background” and everything works fine…
<div> <img id="background" title="" alt="" src="images/diamondigloosplash.png"/> </div>
But I don’t know where I put that div code in the theme files for it to function the same. I tried putting it in the index.php file and it’s not working.
Any ideas?
Thanks!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘How To Auto-Resize Background Image’ is closed to new replies.