General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion Incidental Graphics Display

  • scotth

    Incidental Graphics Display

    Participants 0
    Replies 1
    Last Activity 10 years, 11 months ago

    Using XMetaL 6.0, is there anyway to display small icons or graphics that are not associated with an image tag in the XML? For example, lets say that I want to display a small icon next to a warning, caution, or not. My first thought was to make use of css background images, but I notice in the help file that the property is not supported by XMetaL.

    Thanks,

    Scott

    Reply

    Derek Read

    Reply to: Incidental Graphics Display

    The documentation is outdated in this regard. You can use the following construction in your CSS to do what you want:

    selector_name:before {
    content:url(C:somepathsomefile.gif);
    }

    All of the image formats that XMetaL Author supports “natively” should be usable here as far as I know.
    With this usage the file must be on your local machine (you cannot use an http address for example, as you can with elements that have their CTM settings configured to render them as images).

    Reply

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

Lost Your Password?

Products
Downloads
Support