Quote:
Originally Posted by phossler
I've tried to bracket a group with <div class="noindent"> ... </div> but the class seems to be ignored. If I can't do that, is there another way to 'turn off' indenting for a block of paragraphs?
|
I was sure using
!important would do the trick, but it doesn't.
So, here is another way:
Code:
p {
text-indent: 2em;
}
.noindent p {
text-indent: 0em;
}