Knowledgebase

How to leave space between images and text in Joomla

By default Joomla leaves no space between text and images in articles. This can make your site design unpleasant and even annoying.

In order to fix it you will have to specify manually some HTML code. The easiest way to do this is to invoke the HTML editor window when editing an article or even to switch to NoWYSIWYG editor temporarily. Then along with the image attributes specify:

hspace="3"

You can leave more / less space depending on your preferences.

Here is an example how will look the whole code for a sample image called joomla.png:

<img src="/images/stories/joomla.png" alt="Joomla" title="Joomla" align="left" border="1" hspace="4">

After making the change save the progress and there will be space between the text and the image.

Joomla is a powerful software that is easy to work with once you have the right host to support you. Before you lose any more time with the wrong host, check out the SiteGround Joomla hosting offer.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to test if jHackGuard is working correctly on your Joomla site?

If you want to be sure that jHackGuard is installed and working correctly on your website, you...

How to remove time stamps from Joomla SEF URLs

Due to an incorrect alias or a non-English character in your category names, Joomla may replace...

How to configure AcyMailing to comply with hostlantern e-mail terms of use?

In order to comply with the SiteGround e-mail Terms of Service you have to configure your...

Joomla caching

The caching mechanism implemented in Joomla is a way to improve the performance and loading speed...

How to extract and restore a Joomla .jpa archive or backup?

Upload your .jpa archive in public_html through your FTP client:...

Copyright © 2013<script>new Date().getFullYear()>2010&&document.write("-"+new Date().getFullYear());</script>, HostLantern. All Rights Reserved.