- 1

In my header, I used an image. I want to write some text on it. I don't know how to do it. Please help!

In my header section, I want to use an image as the background then write some heading on the image.

2nd May 2020, 6:43 PM
Iwasam Enya
Iwasam Enya - avatar
3 Antworten
+ 1
If I read right you want to write text on image?If yes then this will help Give id head background image <header id="head"><span id="text">Some Text</span></header>
2nd May 2020, 7:00 PM
Abhay
Abhay - avatar
0
Thanks
2nd May 2020, 7:08 PM
Iwasam Enya
Iwasam Enya - avatar
- 1
There are two ways to do that. 1. Set your image as background, using the background-image property. 2. Use position property (relative on header, and absolute on img and text.).
2nd May 2020, 7:13 PM
yochanan sheinberger
yochanan sheinberger - avatar