Repeat an image that isn't a background?

quarantine

New Member
I am designing a website, and I need to repeat and image across the "X" access, which is horizontal. I've tried doing this with CSS , but CSS only lets the background repeat as far as I can see. I've heard that you can repeat a non-background image with javascript, but I don't know where to reference this, or how to set it up.

Any suggestions on how to repeat a normal image horizontally? :confused:

If it helps to know, I'm using dream weaver to build this site currently. I'm not that familiar with dream weaver.

PS. This is my first post! I just found you guys on google and thought I'd register to see what I can learn and improve on! I hope to share some experiences with everyone! :D:p
 

suz

New Member
Hi there quarantine, welcome to the forum. I have moved this thread to the web design section, you might have better luck getting answers here. I am not sure if a normal image can be repeated but someone else may be able to give you an answer.
 

zkiller

Super Moderator
Staff member
You are correct, CSS only repeats background images, however, this is not a problem. Create a div and size it according to your needs. Apply your image as the background to that div and repeat across the x-axes. Then just place div where you need it and voila, your done.
 

quarantine

New Member
You are correct, CSS only repeats background images, however, this is not a problem. Create a div and size it according to your needs. Apply your image as the background to that div and repeat across the x-axes. Then just place div where you need it and voila, your done.

much appreciated! I never knew you could use a background in a separate div. Thanks! :D
 
Top