This content has been marked as final. Show 3 replies
I have also encountered this problem, and also tried removing the </ol> and <ol> tags. Basically it works, but paragraphs "inside" the <ol> will be indented. This is not too bad with <p>, but if you have <h2> or <h3> it does disturb the layout, especially if they are visible on the same screen as <h2> or <h3> "outside" the <ol>.
My conclusion is that it creates more problems than it solves, so I use "Bullets and Numbering" > "Restart numbering at".
It seems to be indeed a CSS/HTML rather than a RoboHelp issue.
>> My conclusion is that it creates more problems than it solves, so I use "Bullets and Numbering" > "Restart numbering at".
There are two problems with using this solution:
1. If you add a list item earlier on then you will have to go back and manually update the "Restart numbering at" every time you used it.
2. The HTML/CSS code generated by using "Restart numbering at" is:
where n is the number that the list item is supposed to be continuing with.
However, would you believe it, the "start" HTML attribute has been deprecated (=officially removed) in the latest version(s) of CSS.
Ha Ha Ha :-)
Let's face it, CSS wasn't designed for anybody doing serious writing!
Actually there is an official solution. See: the CSS dfn. at http://www.w3.org/TR/CSS2/generate.html#q10 (12.5 Automatic counters and numbering).
It's quite complex.
Actually, all the CSS sages needed to do was to have the following HTML attribute setting:
but alas, they had to make everything complicated.
(My client/boss just told me: don't spend too much time on this CSS stuff…).
That statement, "don't spend too much time on this…" always drives me mad. Well if app designers and programmers had more brains then I wouldn't have to, would I …?
And thanks for the response , Derek.
Actually, I think it would be easier and cleaner to take out the separating <ol> tags and give more thought to what to do if you want "Body Text" in the middle of a list. Since the unwanted indentation is being caused by default inheritance enabled, there is probably an CSS setting like:
and that should deal with the indentation.
Actually, maybe the sages at a CSS forum like http://w3schools.invisionzone.com/ should be able to help out.