| Author |
how to set background image and foreground image in css?
|
ashley Jug
Ranch Hand
Joined: Sep 02, 2011
Posts: 60
|
|
Hello,
sorry i know it sounds like a silly question but i have two pictures, pic1.jpg and pic2.jpg.I want to set pict1 as background and have pict2(foreground) displayed over pict1.jpg, i don't know how to set the pict2 over pict1.
I know for the background it will be :
In my html file it is:
how do i set pict2 over pict1 in the html file?
Thanks in advance.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
|
With an <img> tag. There's no such thing as a foreground image.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Mohan Mehra
Ranch Hand
Joined: Jul 28, 2011
Posts: 63
|
|
|
|
 |
 |
|
|
subject: how to set background image and foreground image in css?
|
|
|