I'm writing a Web Application and I am experiencing a weird behavior from my app.
Basically, I set a background-image
and the website width
continues passed the image length
.
Here's a printscreen:
What can I do to correct this?
I'm setting the background with this line:
<header style="background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(<?php echo base_url('assets/pagina_voluntario.jpg');?>);">
<div class="header-content">
...
</div>
</header>