Bah. For the life of me I cannot remember.. how does one make a background tile in CSS?
| SitePoint Sponsor |





Bah. For the life of me I cannot remember.. how does one make a background tile in CSS?
Sherice Jacob - Web Improvement Expert
Improve Website Conversions | eBook Covers
Follow Me on Twitter!




style="background: URL(image.gif) repeat"
or 'repeat-x' or 'repeat-y'
If you aren't living life on the edge
- you're taking up too much space
Creative Dreaming Ltd / Ask The Local / Amanzi Travel





Yeah!! Thanks Dale![]()
The background should repeat by default. It's only if you don't want it repeating that you need to use the background-repeat rules.





As vgarcia says, backgrounds repeat (both x & y) as default, but it appears that specifying x or y means that the background only repeats in the direction specified.Originally posted by vgarcia
The background should repeat by default. It's only if you don't want it repeating that you need to use the background-repeat rules.
Thanks for that tip Dale, I wasn't aware of it
Andy
From the English nation to a US location.
Bookmarks