DITA and XMetaL Discussion
XMetaL Community Forum › DITA and XMetaL Discussion › Modifying a list item
-
MarieS March 11, 2010 at 5:31 am
Modifying a list item
March 11, 2010 at 5:31 amParticipants 0Replies 1Last Activity 12 years, 10 months agoUsing XMEE Version#: 5.5.0.266
I specialized the DITA li,
. It is the first child of an - or
- .
I'm trying to modify the css so that it doesn't have a bullet or a number when editing in the tags or normal mode.
Here's what I have:
listintro { list-style-type:none; }
but it is still rendering with a bullet. Any ideas how to fix this?
Thanks.
–Marie
Su-Laine Yeo March 11, 2010 at 7:05 pm
Reply to: Modifying a list item
March 11, 2010 at 7:05 pmI believe it's necessary to style based on the @class attribute rather than the element name, because you're trying to override styling that is defined elsewhere using the @class attribute.
For example, if the
element is defined in a domain called “foobar-d”, the @class attribute for is probably “+topic/li foobar-d/listintro” So your stylesheet should say:
[class~=”foobar-d/listintro”] { list-style-type:none; }
Please let us know if this works.
-
AuthorPosts
- You must be logged in to reply to this topic.