0
How do I get the image to be on the right side of the div? See below:
The code I’m trying here is this:
<div class="img img-responsive" style="background-color: #1F356A;" align="right">
<div style="background-image: url('banner/banner.png'); height: 100px; margin-top: -23px; line-height: 100px; color: #BCA828; font-family: Arial; font-size: 48px; text-align: center">
HISTÓRIA
</div>
</div>
tries to put
float: right
– Francisco
Hello Francisco. Unfortunately it didn’t work. The banner doesn’t appear anymore.
– user24136
I recommend using flexbox is already accepted by 95% of browsers..
– wDrik