Currently in the process of learning how to use CSS with HTML, I am experimenting with overlapping an image with text. Here is my current code:
<style>
.aboutus_oven{
background:url('Images/oventemp.jpg') no-repeat center;
background-size: 100% 100%;
height:760px;
margin-top: 208px;
position: absolute;
}
</style>
<div class="aboutus_oven">
<div class="aboutus_title">
<h1> About Us</h1>
</div>
</div>
.aboutus_title{
margin-top:0px;
margin-left: 65px;
position: relative;
}
I am unsure if the issue lies in them both being under the same class. Could the specific margins specified within each class be conflicting with each other? I have included an image demonstrating what I am trying to achieve.