Is it possible to have 2 background images on a css template?
or a html templates.... if so could you tell me why ...and both gotta be images not one color and the other images it has to be the both images
Public Comments
- Not really. Every element on a web page can only have one 'background-image'. Meaning that you can only assign the <body> element (which I suppose is what you're referring to) one background image. But you can have a large div, spanning the entire width and height of the view-port, to which you can assign a different 'background-image'. Don't really know why you would want to, but it's possible.
- The latest version of CSS supports multiple backgrounds images per element, but most of the browsers don't support this yet. Radone suggestion of adding another div is the way to go.
- I suggest you edit the images in your Photoshop or any image editting software the way you like it and just use that image as background.
Powered by Yahoo! Answers