Position image text

Post here questions and problems related to editing and publishing DITA content.
Le Basque
Posts: 147
Joined: Sat Oct 19, 2013 8:21 am

Position image text

Post by Le Basque »

Hi,
I want to put a picture in a text, but I want to center the image relative to the text

Code: Select all

  
<step >
<cmd>Click on: <image href="button.gif" For print/></cmd>
</step>
When i use this code, The image is aligned with the bottom of the text, as it is higher than the text, the step number is offset it is ugly.

how to center the image and text

Thank you
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Position image text

Post by sorin_ristache »

I think the number at the left of the step/cmd can't be aligned to look nice if the inline image is higher than the text displayed on the same line. I suggest using an inline image on that line that is not higher than the text.


Regards,
Sorin
Post Reply