Here is some HTML and CSS code that I've provided.
.x{
border-bottom: 1px solid #000;
}
.y {
border-bottom: 1px solid #000;
}
.z li{
display: inline;
padding-top: 50px;
}
<div class="x">
<br>
<br>
<br>
</div>
<div class="y">
<br>
<br>
<br>
</div>
<div class="z">
<ul>
<li>D</li>
<li>E</li>
<li>F</li>
</ul>
</div>
However, I'm having trouble controlling the padding / margin on <div class="z">
. What could be causing this issue and how can it be fixed?