if you are a human please do not click here
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Username :
Password :
Home
Help
Calendar
Register
Login
XMetaL Community Forums
»
General
»
General XMetaL Discussion
»
Incidental Graphics Display
Pages:
1
« previous
next »
Print
Author
Topic: Incidental Graphics Display (Read 237 times)
scotth
Member
Posts: 35
Incidental Graphics Display
«
on:
September 14, 2011, 06:03:16 AM »
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
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member
Posts: 1548
Re: Incidental Graphics Display
«
Reply #1 on:
September 14, 2011, 10:53:08 AM »
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:\somepath\somefile.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).
Logged
Pages:
1
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Forum Information
=> General XMetaL Discussion
=> DITA and XMetaL Discussion
=> XMetaL Tips and Tricks
=> XMetaL Announcements and Events
Loading...