General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › Incidental Graphics Display
-
scotth September 14, 2011 at 12:03 pm
Incidental Graphics Display
September 14, 2011 at 12:03 pmParticipants 0Replies 1Last Activity 11 years, 6 months agoUsing 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
Derek Read September 14, 2011 at 4:53 pm
Reply to: Incidental Graphics Display
September 14, 2011 at 4:53 pmThe 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). -
AuthorPosts
- You must be logged in to reply to this topic.