CSS multiple background
-
I have an image that puts a shadow on each side of my contents, but unfortunatly when I resize the window the shadows disappear. I figured that it would work if I put in two images, one for the left side and one for the right. the image on the left is controlled by this entry:
#content {
margin-right: 20em;
margin-left: 40px;
background-color: #fff;
padding: 1em;
margin-top: 160px;
background-image: url(/wp-images/shadowlt.gif);
background-repeat: repeat-y;
background-position: left;
border-top-style: outset;
border-top-color: #BCABB1;
border-bottom-color: #BCABB1;
border-bottom-style: inset;
can I add another set of comands to #content like this
background-image: url(/wp-images/shadowrt.gif);
background-repeat: repeat-y;
background-position: right;
- The topic ‘CSS multiple background’ is closed to new replies.