I have a problem with placing my images 2 characters to the left and right side of my text. Here's a picture of how it looks:
As you can see the images are down below the black box and I want each one of them to be beside it, and now the background on the page is extended due to the images being pushed further down.
Here's my code for the CSS:
.support-text {
width: 600px;
position: relative;
margin-left: auto;
margin-right: auto;
line-height: -2px;
margin-bottom: 130px;
clear: left;
}
.support-text h1 {
font-size: 30px;
}
.support-text {
font-size: 23px;
}
.support-img {
margin-top: -80px;
margin-bottom: 80px;
z-index: 1;
}
.ct-pic {
float: right;
width: 700px;
height: 596px;
bottom: 30px;
background-image: url('../img/ct.png');
}
.ct-pic:hover {
-webkit-filter: brightness(180%);
}
.t-pic:hover {
-webkit-filter: brightness(180%);
}
.t-pic {
float: left;
width: 770px;
height: 596px;
margin-left: -60px;
margin-bottom: -1px;
background-image: url('../img/t.png');
}
Here's the code for the HTML:
<div class="main-wrapper">
<section class="support-text">
<img src="img/support-us.png" class="support-img">
<p> hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello</p>
</section>
<div class="ct-pic">
</div>
<div class="t-pic">
</div>
</div>