I created an indented note class (
p.NoteIndented) where I want the next paragraph to be a normal <p> paragraph so I tried this:
doc_guy wrote:Basically the settings you are using allow you to pick a specific class of P, but don't let you select NO class of p.
I've seen people do a work around where they put the following in the text of the style sheet:
but it doesn't work at all. The next paragraph is always the
p.NoteIndented style. Here's how I defined it:
Code: Select all
p.NoteIndented
{
mc-auto-number-format: 'Note: ';
margin-bottom: 12px;
mc-next-tag: p;
mc-next-class: " ";
}
I tried removing the "mc-next-tag" line but it made no difference. I even tried making it a different tag (e.g., "h1") but the next paragraph still was always the
p.NoteIndented style. Any ideas why it doesn't work?
Brian
ETA:
Solved it! For some reason it was defined twice in my stylesheet. I removed the first one in the "@media print" section (where I had added the code) and then added the code in the remaining definition.