DITA and XMetaL Discussion
XMetaL Community Forum › DITA and XMetaL Discussion › WebHelp: Extra line break added before lists
-
jlm05 April 19, 2012 at 1:55 pm
WebHelp: Extra line break added before lists
April 19, 2012 at 1:55 pmParticipants 0Replies 1Last Activity 10 years, 9 months agoI'm starting to experiment with the WebHelp output.
I've noticed that for lists, the output adds an extra
before the list.So it ends up something like:
Paragraph:
- First list item.
Is there a way to get this to stop happening? With the extra line break there is too much of a gap between the paragraph and the list.
Derek Read April 19, 2012 at 11:27 pm
Reply to: WebHelp: Extra line break added before lists
April 19, 2012 at 11:27 pmThere are two options I can think of:
1) Create some CSS that suppresses elements you do not want to see (using the CSS property display:none), or changes their styling (height, margin, padding, etc) some other way.
2) Modify the XSLT that generates the XHTML. I believe the main file that does most of the work is here:
You will need to find the template that builds the
- to modify it. Most likely it will be in something like
where the “…” is trying to match on a class attribute of “topic/ul”. Hopefully somewhere in there you can spot a
. -
AuthorPosts
- You must be logged in to reply to this topic.