I am trying to arrange two div in different rows. They work fine until I add some float elements. Anybody could help me fix the issue? The second row cannot appear as a normal div block, I do not know how to fix this.
<style>
li {
    list-style-type: none;
}
h4 {
    float:left;
    
}
ul {
    float:right;
    
}
    
.first-block {
    
}    
    
.second-block {
    position:relative;
    
}
</style><div class="first-block">
    <h4>Left Top</h4>
    <ul><li>Right Top</li></ul>
</div>
<div class="second-block">
    <h4>Left Bottom</h4>
    <ul><li>Right Bottom</li></ul>
</div> 
     
     
     
    