Topic: two backgrounds in one element? |
|
---|---|
Author | Thread |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 09-27-2008 16:11 |
Paranoid (IV) Inmate From: Norway |
posted 09-27-2008 16:53 |
Maniac (V) Inmate From: there...no..there..... |
posted 09-27-2008 21:47
If I'm understanding what you are wanting, I have done it by making the background image a lot bigger than needed. Kind of like the bottom image used here |
Bipolar (III) Inmate From: |
posted 09-28-2008 02:58
How about through containment, like this? code: <style> div { margin: 0px; padding: 0px; } .bg1 { background-image: url(bg1.png); background-repeat: repeat-x; } .bg2 { background-image: url(bg2.png); background-repeat: no-repeat; background-position: 10px 10px; } </style> <div class="bg1"> <div class="bg2"> Yippie </div> </div>
|