Does anyone know how to place text after a container and it still be centered. Anyone know how to fix this? For some reason, If I don't put the position at the end if the program, it will go behind the banner picture, and if I when I try to center it doesn't work. I want them both centered, but the example to be after the banner, but whenever I try, it won't let me put the text at the right height, and be centered at the same time
.container {
position: relative;
text-align: center;
color: white;
}
.top-left {
position: absolute;
top: -8px;
left: -10px;
}
.bottom-left {
position: relative;
top: 29vh;
left:50%;
transform: translate(-50%, -50%);
}
<div class="container">
<img align="left">
<div class="top-left">
<img src="C:\Users\wadeb\OneDrive\Desktop\Untitled design.png" alt="Banner Picture" style="width:100vw;height:33vh" style="margin: 0px px"></p>
</div>
<div class="bottom-left">
<a href="C:\Users\wadeb\AppData\Roaming\Sublime Text 3\Packages\User\Church Website.html">Home</a>
</div>
<h3 style=" text-decoration-style: bold; position: absolute;top:34vh; text-align: center;">example:</h3>
</div>
Any Ideas?