Ever had a background image that you wanted only to repeat once on the x-axis or the y-axis. Here's some simple CSS to do it with! This is great for creating boxes to type stuff in!
Hope you enjoyed this tut! It's very useful for image based sites!
03-03-2005, 01:17 PM
watchyouburn
there's a shorthand version of that as well. if you want to apply a x-repeated image to your back ground, all you have to put this in your .css file:
Code:
body {
*background : url(ashe.jpg) repeat-x;
}
if you want to position your background image in a specific spot, just use this:
Code:
body {
*background : url(ashe.jpg) repeat-x top;
}
where "top" can be "left" "right" "center" "bottom"
12-05-2005, 08:25 AM
natso
very handy indeed... thanks guys. i bookmarked this :D