- 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.
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>
0
Thanks
- 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.).