Below is my HTML DOM structure. I am trying to remove the margin and padding for all h3 elements that are immediate siblings of a div with the id "successor". I attempted to achieve this using the adjacent sibling selector "+", but unfortunately, I'm not seeing the expected results. Any assistance would be greatly appreciated.
<style type="text/css">
div#successor {
display: block;
}
div#successor+h3 {
padding :0 !important;
margin :0 !important;
border: 1px solid red;
}
</style>
<div id="access">
<div class="profile clearfix">
<div id="successor" class="memeberDetails">
<h3>Personal</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam purus dolor, vulputate iaculis erat ut, pulvinar commodo orci.Cras ac lorem a lectus luctus vestibulum. Suspendisse odio ligula, fringilla ut ultrices sed, aliquam nec ligula. Praesent porttitor,</p>
<br />
<h3>Training</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam purus dolor, vulputate iaculis erat ut, pulvinar commodo orci.</p>
<br />
<h3>Contact</h3>
<p>Lorem ipsum dolor sit amet</p>
</div>
</div>
</div>