DITA and XMetaL Discussion

  • MarieS

    Modifying a list item

    Participants 0
    Replies 1
    Last Activity 12 years, 6 months ago

    Using 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

         

    Reply

    Su-Laine Yeo

    Reply to: Modifying a list item

    I 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.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support