Jump to content

Repeating Images


Recommended Posts

An img tag describes one image, one time. There is no repeat property and it does not take a background attribute. You could have multiple image tags right next to each other, or simply create a div the size you want and give it a repeating background the way you described. As always, the choice should depend on what the image is doing. If it's actual content, have multiple img tags. If it's decoration, make it a background.

Also when I try changing the width with the body one it doesn't work . . .
Sorry. Could you explain that a little more?
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...