I need to create two full-width headers but I can't seem to find a way to do them without using position absolute because if i use position:absolute, I can't use margin-bottom, which I need. What can I do?
This is what I have tried:
<div class="header1">
</div>
<div class="header2">
</div>
.header1 {
background-color: red;
margin-top: 110px;
color: #FFFFFF;
height: 35px;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
.header2 {
background-color: blue;
margin-top: 150px;
color: #FFFFFF;
height: 35px;
left: 0;
position: absolute;
top: 0;
width: 100%;
}