Chris
05-01-2004, 04:43 PM
Ok, i have a background image that is just at the top of the page.
I want it to repeat across the screen, from left to right.
I have this code in my .css file:
background-image: url(images/bg.png);
background-repeat: repeat-y;
and i have this in my index.html:
<div style="position: absolute; top: 0px; width: 770px; left: 0px;" align=left id=mainimage>
<img src="http://charliedontsurf.xs-host.com/images/bg.png">
</div>
but its not working?? why??
Thanks
Chris
I want it to repeat across the screen, from left to right.
I have this code in my .css file:
background-image: url(images/bg.png);
background-repeat: repeat-y;
and i have this in my index.html:
<div style="position: absolute; top: 0px; width: 770px; left: 0px;" align=left id=mainimage>
<img src="http://charliedontsurf.xs-host.com/images/bg.png">
</div>
but its not working?? why??
Thanks
Chris