Please help me! What I should do that the background-color is only behind the picutre | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Please help me! What I should do that the background-color is only behind the picutre

I have a pgn picture and behind it I want background-color but when I use <div> it's the right hight, but not the right width. When I have <span> there is the right width, but not the right hight What schould I do? Sry, for the bad english

13th Jul 2019, 10:45 AM
Thomas S.
3 Respostas
+ 4
It's alright, if you can't describe your problem fully. But you should share you code, so we could study and understand your problem from there. Put it on Code Playground, share the code by selecting "+ Insert" from left bottom of the comment box
13th Jul 2019, 10:52 AM
CalviÕ²
CalviÕ² - avatar
0
Thx
13th Jul 2019, 10:57 AM
Thomas S.
0
I shared the code! Thx for the huge help
13th Jul 2019, 11:20 AM
Thomas S.