click here for image description
Is there a correct way to resolve this issue? When I view it responsively in Chrome at 1000 pixels, the photo overlaps the text.
This is my HTML code: `
<div class="fans-inner">
<div class="account acc-left">
<img class="account-logo" src="./img/man.png&qout; alt="">
</div>
<div class="block-coments">
<p class="coments">
Consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore
et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo core dot occaecat cupidatat
non proident, sunt in culpa qui officia borum.
</p>
</div>
</div>
<div class="fans-inner">
<div class="block-coments">
<p class="coments">
Consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore
et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo core dot occaecat cupidatat
non proident, sunt in culpa qui officia borum.
</p>
</div>
<div class="account acc-right">
<img class="account-logo" src="./img/man.png" alt="">
</div>
</div>
</div>
</section>`
CSS : `
.fans-inner {
display: flex;
justify-content: center;
position: relative;
}
.account {
position: absolute;
}
.block-coments {
max-width: 800px;
}
coments {
margin-left: 40px;
margin-right: 40px;
padding: 25px;
background-color: #f2f2f5;
margin-bottom: 20px;
}
.acc-left {
left: 10%;
}
.acc-right {
right: 10%;
}`
Should I move them below the text at 1000px? see image here. If I set Left: 0, Right: 0, the photos are too distant from the text.