SN1P3R_85 Posted September 21, 2008 Share Posted September 21, 2008 Hi, im trying to repeat two images vertically, one on the left side, and on on the right. It would create a kind of border, but i can't seem to do both. I am new to divs, and read that they would be best for multiple images. any ideas? Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted September 21, 2008 Share Posted September 21, 2008 You can not repeat two images at the same time in a div. You can only repeat one image at a time. Furthermore, you have little control over how it it repeated. A picture illustrating of what you would like to accomplish would be extremely helpful! Quote Link to comment Share on other sites More sharing options...
SN1P3R_85 Posted September 22, 2008 Author Share Posted September 22, 2008 i don't mind if its more than one div. I just want the picture to line the left side, and right right side. I know how to make the image repeat vertically, and i know how to make it on the left side, but i want to do the exact same thing on the right side. Basically, my page would have the picture repeated on the left, and the right at the same time. divs aren't neccesarily the way to go, i just thought they may be. Quote Link to comment Share on other sites More sharing options...
dropfaith Posted September 22, 2008 Share Posted September 22, 2008 if i understand this correctly you want something like this making a border on each side of your content and if this is the case i would use divs <div class="left"> </div> <div class="right"> </div> <div class="content">Insert content here</div> then use css then add your image as a background to left and right div.left {float:left} div.right{float:right} | content | | content | | content | | content | | content | | content | | content | | content | Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.