I want to place text over an image. I have put my text in a div block and I have put an image under the div block. Then I changed the div block position to absolute which positioned the image behind the text like I wanted it to be.
How can I adjust the width of the text div block to be the same as the image though? Because now the text just goes on instead of doing a line break where the image ends.
See where I put the Ford Mustang pictures with a title and a gradient overlay? I want the “Car title” div box to go all the width of the picture, how do I do that?