[docbook-css] Inline Images: Changes to styles.css
martin.gautier@myrnham.co.uk
martin.gautier at myrnham.co.uk
Fri, 19 Nov 2004 13:49:24 +0000
<br><font size=2 face="sans-serif">It seems that the following DocBook:</font>
<br>
<br><font size=2 face="Courier New"><para>The word "press"
means to press the specified <inlinemediaobject></font>
<br><font size=2 face="Courier New"> <imageobject role = "html"></font>
<br><font size=2 face="Courier New"> <imagedata format
= "PNG" fileref = "4230-2_en_US\btn_key.png"/></font>
<br><font size=2 face="Courier New"> </imageobject></font>
<br><font size=2 face="Courier New"></inlinemediaobject>.</para></font>
<br>
<br><font size=2 face="sans-serif">...produces the following text:</font>
<br>
<br><font size=2 face="Courier New">The word "press" means to
press the specified</font><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif">[the_image]</font>
<br><font size=2 face="sans-serif">.</font>
<br>
<br><font size=2 face="sans-serif">... where "[the_image]" is
the actual PNG image itself. ie. the image is dumped onto a new line as
does any following text.</font>
<br>
<br><font size=2 face="sans-serif">Changes to styles.css</font>
<br>
<br><font size=2 face="Courier New">/*imageobject {</font>
<br><font size=2 face="Courier New"> display:
block;</font>
<br><font size=2 face="Courier New">} */</font>
<br>
<br><font size=2 face="sans-serif">removing the display block seems to
do the trick. I've not come across a "gotcha" yet, I'll let you
know if I do...</font>
<br>
<br><font size=2 face="sans-serif">Mart</font>