Donate SIGN UP

creating a tiled baground image in html

Avatar Image
Thunderchild | 17:17 Sun 10th Sep 2006 | Technology
8 Answers
I have an image and want to use it as a background in a web page but I want it to be tiled so that the whole background is filled with lots of this little image how do i do this ?
Gravatar

Answers

1 to 8 of 8rss feed

Best Answer

No best answer has yet been selected by Thunderchild. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
-- answer removed --
<body background= "url">
body
{
background-image: url("your image her");
background-repeat: repeat: repeat
}
Question Author
do you mean to just keepe repeating the background command as many times as I want the picture. i need it to be just as long or short of the page that way for each page I will have to "measure it" anyhow thanks
if you make the image smaller the one command will tile the image for you. i take it you have an image which is quite large and you wish to make it smaller and then tile it? if you simply continue copying the same BACKGROUND command the user will be downloading the image many times making your page load slowly,
Question Author
it is a small image that I want tilled
the background command i wrote should tile it automatically for you
Question Author
bingo it works thanks a lot mate

1 to 8 of 8rss feed

Do you know the answer?

creating a tiled baground image in html

Answer Question >>

Related Questions

Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.