+ 1

Send image to background

how do i send an image to the background? or how do i send an image behind text?

18th May 2017, 1:20 PM
Jean-Erolle Remy
Jean-Erolle Remy - avatar
6 odpowiedzi
+ 3
use z-index in css (style) ex <img src="#"> <p> image</p> in css img{ z-index:1; } p{ z-index:2; }
18th May 2017, 1:24 PM
MR Programmer
MR Programmer - avatar
+ 2
If you want to set the image as background, use: <body background="image-png"> --- </body> <!--Notice that it's "background" for an image, and "bgcolor" to set a color-->
18th May 2017, 2:13 PM
Ángel Daniel
Ángel Daniel - avatar
+ 1
Thank you😆
18th May 2017, 1:30 PM
Jean-Erolle Remy
Jean-Erolle Remy - avatar
+ 1
thanks, I really appreciate your help
18th May 2017, 2:18 PM
Jean-Erolle Remy
Jean-Erolle Remy - avatar
+ 1
this is a webcode about sending a video to the background using the method suggested by @Mr Programmer https://code.sololearn.com/WrBG0rrlpUN9/?ref=app
18th May 2017, 6:11 PM
seamiki
seamiki - avatar
+ 1
thank you very much😊
19th May 2017, 2:31 AM
Jean-Erolle Remy
Jean-Erolle Remy - avatar