I have encountered the following HTML code:
<div class="entry">
<p></p> //text-indent here
<blockquote>
<p></p> //no text-indent here
</blockquote>
</div>
I am trying to apply a text indent only to the <p>
tag inside the .entry
class, but not to <p>
tags inside the .entry blockquote
.
This is my current CSS set-up:
.entry{
p{
margin: .85em auto;
line-height: 1.7;
text-indent: 1.5em;
}
}
Is there any way to modify the existing CSS using the 'not' selector without introducing any new rules?