I need help placing text over an image

I have the following code and can not get this to work. I have an image that I need to place text into.

Investment Returns and Expenses

I get the text but the image will not show.

Please help!!!

Hi Ahaddad,

try this code:

<div style=“position: relative; background-image: url(‘images/BlueCurve_v2.png’); width: 787px; height: 166px;”>
<div style=“position: absolute; bottom: 0; left: 0.5em; width: 400px; font-weight: bold; color: #fff;”>
<p>Investment Returns and Expenses</p>
</div>
</div>

In this case you must use the “background-Image” CSS property instead the “background” property, and when you are using " " " " you cannot use double quotes inside doble quotes, in this cas you should use " ’ ’ " single qoutes inside your double qoutes.

Let me know if it works for you or if you have any other question about it,

Best regards,

Juan

Thank you!! This worked. I had to make adjustments to the formatting but main goal was achieved. Thanks again!!!