I have a DIV
element which may contain 1 or 2 Child DIVs
Is there a way to say of there is 1 Child element
then the padding should be 15px
otherwise 5px
It may like
<div class="container">
<div><strike>7.00</strike></div>
<div>5.00</div>
</div>
or
<div class="container">
<div>7.00</div>
</div>