We already mentioned that the lack of coding knowledge needed to implement this is a big plus for this method but what about the drawbacks? First, if you want to adjust the spacing across many images it’s going to be very time consuming to edit a slew of images and save them out. Secondly, if you need to change the spacing you’ve added to an image it’s going to involve opening the image, changing the spacing and then re-exporting it.
Finally, you’ll need to make sure you’re aware of how . If you’re including a colored background in your image for spacing and dark mode is altering the background color of your email it could have some adverse effects.
Overall, we don’t recommend using this method for spacing due to the drawbacks above. But if you aren’t comfortable editing email code, and you need to very quickly add spacing in one or two places, this could be a quick-fix you can employ.
Using table structure to control spacing
Our final method of controlling the spacing around images in your email is another solution that requires neither padding or margins.
Using tables made up of rows UK Business Fax List and cells is the most common approach in email development for controlling layout. We can also use this table structure to add spacing around our images.
n this example we’re using a table row with an empty 20 pixel height cell in it to add spacing between two images that are stacked vertically.
While this can be a great method to quickly add some extra spacing around images without needing to dive into inline styling and modifying your CSS, it does have the drawback of adding a fair amount of code bloat.
Doing this in more than one or two places throughout your email could lead to inflated file sizes and it’s important to remember that your .
In this example we’re using a table row with an empty 20 pixel height cell in it to add spacing between two images that are stacked vertically.
While this can be a great method to quickly add some extra spacing around images without needing to dive into inline styling and modifying your CSS, it does have the drawback of adding a fair amount of code bloat.
Doing this in more than one or two places throughout your email could lead to inflated file sizes and it’s important to remember that your
How to fix spacing issues with Gmail and Outlook
Including an is crucial for achieving consistent rendering across various email clients. However, as with many aspects of email code, it can sometimes lead to unexpected side effects.
One particular side effect that arises from including the HTML5 doctype in your email is the introduction of extra space below images when viewed in Gmail and Outlook.com. This issue can significantly impact the experience of your subscribers, especially if your
Struggling with extra space under your images in Gmail and Outlook? Don’t worry, the fixes below will help you eliminate those pesky spaces.
Add style=”display: block” to your image
This is the most popular fix Aero Leads for the extra space below images in Gmail and Outlook. Simply add the code from below to your images and it’ll most likely remove the extra spacing.