I have a div that the entire background of it is an image. In the middle of an image I want to have a white box that has some text in it. I tried with relative position but that stretched out the parent.
Here is my code
<div id="desk-linkedIn-image" style="background: url('img/linkedin/at_desk_linkdenIn_optimization.jpg');width: 100%;">
<div style="background-color: #FFFFFF; width: 475px; height: 46%;padding-left: 2%;">
<p style="font-size: 20px;"> Text Text Text</p>
<p style="font-size: 20px;"> Text Text Text</p>
<p style="font-size: 20px;">Text Text Text</p>
</p>
</div>
</div>