Forum Moderators: open

Message Too Old, No Replies

Stopping vertical repeat of image in table background

table background image

         

barbeluk1

6:01 am on Oct 23, 2009 (gmt 0)

10+ Year Member



Hi there,

Is there a way of stopping a table background image from repeating like you can for the general page background?

<url removed>

You can see a grey strip at the bottom of the page where the fade has started to repeat again. I'd like to stop this so that the page can grow and be on black.

Thanks in advance.

Andy

[edited by: incrediBILL at 6:05 am (utc) on Oct. 23, 2009]
[edit reason] removed personal URLs, see TOS #13 [/edit]

tangor

6:08 am on Oct 23, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Your personal link will be removed (TOS), but I took a look in FF3 and saw no background image at all. Otherwise, looks nice as it is.

barbeluk1

6:16 am on Oct 23, 2009 (gmt 0)

10+ Year Member



Sorry about the link.

The background image I'm talking about in the table is the grey fade to black at the top. I have a few other sites where knowing how to stop the vertical repeat would be really handy, if it's possible...?

Regards,

Andy

swa66

7:10 am on Oct 23, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm unsure how you set the background. If you use CSS to set it, making it not repeat is simple enough:

background-repeat: repeat-x;
or
background-repeat: no-repeat;

would yield what you seek (difference being a horizontal repeat still being done in the first example (something a vertical gradient might well use I guess).

More info: [w3.org...]

barbeluk1

6:28 am on Oct 24, 2009 (gmt 0)

10+ Year Member



Thanks for the replies. I used the CSS suggestion and it works a treat.

Cheers,

Andy