<h3> inside a <div> is aligning to page, not to the <div>
Hello everyone, quite a while since I was here. Hope everyone has been well.
I hope I can explain this properly. I want a div element in the middle of a page that has overflow:scroll; It all works fine but I also want a <h3> positioned: absolute at the top of the box. How do I align the <h3> with this box? At the moment it goes to the top of the page even though the <h3> in inside the <div>
Basically I want the position to relate to the div element, NOT to the page. (I'm a html/css learner)
<div id="arrivals">
<h3> New Arrivals</h3>
<p> <b>June 24 2018: blah blah blah </b>
</p>
</div>
#arrivals {
position: absolute; left: 412px; top: 200px;
height: 400px;
width: 300px;
background-color: #ff9933;
border: solid-black;
overflow: scroll;
padding: 10px;
box-shadow:5px 5px 5px #777777;
}
