Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS how do you place multiple images in one div; ( the second image is a normal colour) Re: how do you place multiple images in one div; ( the second image is a normal colour)

#126759
wolfcry911
Participant

you’ve overridden the white color with the second background declaration (which contains a transparent color). Just use a single background with the white color and the image. Also, don’t use empty divs for spacing layout elements – use margins.

Further, you don’t need to use an image for the gradient (unless you want to support older browsers).