Re: DocBook 4.4 CSS + images
Thomas Schraitle <tom_schr <at> web.de>
2012-05-24 12:48:05 GMT
On Thu, 24 May 2012 14:15:29 +0200
Zoltán János Jánosi <jazoja4 <at> gmail.com> wrote:
> Is there any way to show images in browser just by the help of CSS?
> (or am I have to use XSL?)
I think it should work. In oXygen there is this CSS3 rule (slightly
The original rule looks like this:
content: attr(fileref, url);
However, oXygen is an XML editor, not a browser. In theory, it
shouldn't make any difference, but some browser may not interprete the
above rule correctly.
> I mean I have a document in DocBook 4.4 XML format, and I attached a
> CSS to it.
> It looks good in FireFox but there are no pictures and etc.
It could be the wrong path. Or the format isn't supported (unlikely).
Are the XML file and the images in the same path or is the browser able
to find them?
Check also the following links: