Page 1 of 1

[Solved] bg image tile across but not down?

Posted: Thu Aug 07, 2008 10:55 am
by buntrosgali
i have a bg image which i want to tile across to fit the users full screen

but i dont want it to tile downwards.

i have the code background-image:  url(uploads/images/bg.png); background-repeat: no-repeat;

but that just shows the bg image just once, how can i have it so it tiles vertical but not horizontal?

Re: bg image tile across but not down?

Posted: Thu Aug 07, 2008 1:16 pm
by Dr.CSS
When repeating, x is across and y is down...

background:  url(uploads/images/bg.png) repeat-x; no need to use -image...

If you are calling just a color you use background-color if you want a color in the background also then before url(**** put #ffffff your color hex code with space before and after it...

Re: bg image tile across but not down? (solved)

Posted: Thu Aug 07, 2008 5:02 pm
by buntrosgali
cheers :D

Re: [Solved] bg image tile across but not down?

Posted: Fri Aug 15, 2008 7:52 am
by christiaans
Marked solved.