PDA

View Full Version : background img question


Reeve of shinra
06-07-2004, 12:11 AM
I have an image that I want to use as a background but I only want it to scroll vertically, not horizontally but I am not sure what the css is to do this.

This is what I am using and its scrolling horizontally and vertically which is a problem as the image blends out at the right end thus ruining the effect.



<td class="alt2" width="200" style="background: url('../radio/pbg.gif');" >


thanks!!

Jolten
06-07-2004, 05:10 PM
<td class="alt2" width="200" style="background: url('../radio/pbg.gif') repeat-x top left;" >


try that

Although it might be best to set up a custom style to use so you can just add the class tag.

Zachery
06-07-2004, 05:47 PM
No single quotes inside the url

style="background: url(../radio/pbg.gif) repeat-x top left;"