I have to set a margin to a <p> following a selector depending on a child(h1) element from the selector. Something like this:
selector:not(>h1) + p
{
    margin: 10px 0 0 0;
}
HTML:
<a><h1>test</h1></a>
<p>test</p>
<a> is my selector and it (or the following p) should get a margin only if the a contains a <h1>. and no its NOT possible to set the margin to the h1.
This did not work: is there any way to do this in pure CSS? I think this is a missing thing in CSS3 selectors.
 
     
     
    