space beteween an image and text?
-
An HTML code was given to me that would introduce space between various parts of a text post. And, it works beautifully. Here it is:
<div style=”height: 1.4em; visibility: hidden;”> </div>
However, used between an image and some text it fails to introduce the desired space–i.e., as it was apparently not meant to work in that scenario.
Question: is there an HTML code that would, in fact, introduce space between an image and text in a post?
Thank you.
-
The code you pasted works between image and text too, if the alignment of the image is set to none or center.
Alternative, in the visual editor: click on image, click mountain icon, click Advanced Settings, add number in the “Vertical space” box, Update, Update Post.
-
PS The above code is a bit unstable: if you switch to the visual editor it may be stripped out. Safer version:
<div style="height:1.4em;visibility:hidden;">ANY_CHARACTER_HERE</div>
- The topic ‘space beteween an image and text?’ is closed to new replies.