|
Web design and Programming Discuss website creation and other programming topics. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
Repeating -TWO- images horizontally
So, is there any way to repeat two images horizontally in css? I can't figure it out. I can repeat the one image, but cannot get the second to repeat and don't know if it can even be done.
Code:
body { background-image: url("images/bg_repeat.gif"); background-repeat: repeat-x; } see image below:
__________________
Quote:
|
#2
|
||
|
There has to be an open line somewhere preventing it. That's how I'd lay the code out, and I opened up a forum layout that I know has repeating cell bg's and that's what it shows.
__________________
DF2 Forever! |
#3
|
|||
|
ok, well I went back and was browsing around and figured I would try this:
Code:
body { background-image: url("images/bg_repeat.gif"); background-repeat: repeat-x; } #bg_wrap { height: 100%; width: 100%; background: url(images/bg_repeat2.gif) repeat-x; background-position: bottom; } .container { width: 100%; background: #e5e5e5; margin: 0 auto; overflow: hidden; } Code:
<div id="bg_wrap"></div> <div class="container"> <img src="images/bg_repeat2.gif" alt="" /> </div> Didn't exactly have the best luck with it. It is repeating, but for some reason, I can't get it to repeat all the way across. It repeats under the other image that it's supposed to be repeating behind. see screenshot
__________________
Quote:
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Repeating Image and Static BG in same doc? | EDGE | Web design and Programming | 14 | 11-22-2009 10:47 PM |
New Images | bigjoe11a | Sigs and Graphics | 7 | 08-04-2008 09:25 AM |
Background Repeats (Repeating Images) | EDGE | Sigs and Graphics | 2 | 07-03-2005 07:34 PM |
keeping images from repeating itself? | General Nuisance | Web design and Programming | 12 | 06-29-2005 08:07 PM |
Images... | HeadShot=ICE= | Sigs and Graphics | 7 | 09-01-2003 05:17 PM |