I created fiddle to show the example: I think I am setting parent CSS and then I apply the child's CSS. But it seems like it is being ignored.
<div id="displaybox" class ="displaybox" style="display: none;">
<div class = "parent" >
<a href="reply.php?id=1">Parent 1</a>
</div>
<span class ="child" style="padding: 0 10 "><a href="reply.php?id=3">Child 1</a></span>
<div class = "parent" >
<a href="reply.php?id=2">Parent 2</a>
</div>
<span class ="child" style="padding: 0 10 "><a href="reply.php?id=4">Child 1</a></span>
</div>
Please advise. I am new to CSS, so there are many things that I need learn.