How can I do two backgrounds -
1. At the right.
2. At the left.
??
Thanks,
Yoav.
Two backgrounds
Moderator: General Moderators
- daedalus__
- DevNet Resident
- Posts: 1925
- Joined: Thu Feb 09, 2006 4:52 pm
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
You can actually have 2 background images in a <div> like so
Problem is, it only works in Safari....well, it's not a problem for me because i use Safari
Another great reason to own a Mac
Code: Select all
div.test {
background-image: url(../pix/logo.gif), url(../pix/logo2.gif);
background-repeat: repeat-y;
background-position: top left, bottom right;
height: 200px;
border: 1px solid #000000;
}