Responsive Design: Stacking Images
![](https://cdn.prod.website-files.com/61605d613e0aad4dba52251e/6751d0337a89fa53144a73ea_Group%202.png)
![](https://cdn.prod.website-files.com/61605d613e0aad4dba52251e/6751d0337a89fa53144a73ea_Group%202.png)
Nothing is more frustrating than landing on a website or opening an email that is not optimized for the device you are using. Having to zoom in or scroll to see the full screen can be a big deterrent for users, and will likely lead to losing potential customers out of frustration.
![](https://cdn.prod.website-files.com/61605d613e0aadb411522522/61605d613e0aaddba15237c7_34.png)
That’s where responsive design comes into the picture. Today, if your email format is not designed with mobile devices such as smartphones and tablets, in mind you’re likely under-converting and underwhelming your subscribers.
The good news is that most companies have identified the need for responsive design and are working to create user-friendly email experiences for both mobile and desktop experiences. But in the last few years, mobile usage has grown exponentially and now over 50% of web traffic can be attributed to mobile devices -- making it a huge area of focus for companies.
![](https://cdn.prod.website-files.com/61605d613e0aadb411522522/61605d613e0aad7b165237c5_9Avmc4TJec_97C_eBtUHFEjZiD4YjsA2fwj4UTDNYfMcErdK8rK-wUz-Cd_MPniE1b6CEa5NTqSaqYWzAYAWUdIYvRbxw_9iz2j29aBLbWDvpKsum-_TAyX70fGNUVgVIJGJ377T.png)
Keeping a responsive design in mind from the start when planning out your email marketing strategy is very important. Knowing what new trends and mobile-friendly design capabilities are available will keep your marketing up to date and providing a seemly experience from desktop to mobile. Let’s take a look at how stacking images can help improve your mobile optimization efforts.
![](https://cdn.prod.website-files.com/61605d613e0aadb411522522/61605d613e0aaddb4b52370f_mobile.png)
Mobile Optimization: Stacking Tables
Stacking content in an email requires more than just an understanding of good ol’ fashioned table structure. Planning out our design ahead of time in a grid with appropriate dimensions is an essential part of the process and a bit of thinking outside the box. We are really pushing tables and nested tables upon nested tables to the limit.
Let’s start out simple, with a 2 column layout that will stack to 1 column on a mobile device. Here is our design:
Desktop:
![image](https://cdn.prod.website-files.com/61605d613e0aadb411522522/61605d613e0aadeec3523493_YT4IS0lbFA1Q9PdruNdwlqv-fprNRlBkB5_JuYkf0Dn0Z1F-05L-oxsH6l_6gQBO4NY82APXCHYfdGNsXa7qegoQjQjFpVqsZOx5K9oHCVdHQg8h2xXnioEirAFFB6-iQAdhSnmM.jpeg)
Mobile:
![image](https://cdn.prod.website-files.com/61605d613e0aadb411522522/61605d613e0aad45395234b7_BveqcS8AEIvoqzmzljjfnzrzPvIdh2nJssrNQ571e-me-2fTlh9kUsAKevOCMuPUIKhn5eJTViCpL_fByjvWL7udsSdQ4Tfesf6ssprWam0J9Wdeb2xdhJU786xY_QCV08OjuJai.jpeg)
On the other hand, when a subscriber opens this email on a mobile device it will look a little different. This time, the images are stacked to make it a simple scrolling experience and show everything the user needs on one simple screen. No zooming in to read the content or scrolling to the right or left to see something that is out of range. The two columns we would like to stack are the location and date. This helps streamline the information without having to lose any important details. It allows users to simply scroll down rather than to the right or left to see the additional details and potentially miss something as important as the date of the event. To accomplish this, each of these columns will be coded as a separate table, one aligned left, the other aligned right, and a wrapping table.
![image](https://cdn.prod.website-files.com/61605d613e0aadb411522522/61605d613e0aad16e3523489_Pkz9Uz-xLQSp9EDgp5Fk73DjOEAJGidYCht6Zo3hEMapiIqRS-OujuIQl2O41jMKP6O_ITVaLepmanBhpiPmEPUpmhKU5U-5W4ZQJzknnl9uu5uxl4mUThkjWRXTwILnX_Qre_HN.jpeg)
![image](https://cdn.prod.website-files.com/61605d613e0aadb411522522/61605d613e0aad4bcf5234a2_dHpgW4y6fIPhtacjMM8SYEG5TAK6TGymwWyldXuzkb-EaPQatD7ZzF8ze9BP1zp5T7WhUupo3vRHcHBQrUE-SqWEDWhldnjzg0bv48LzrbETVWR4VfHxWuPdC3Nz1OnsKzkkEc-H.jpeg)
There must always be space between tables, in this case between the blue and green tables. Outlook is quirky and adds padding to tables that are aligned left or right. Adding the border-collapse styles to the table does help, however the amount of space does not seem to be consistent. When there is not enough space between the tables, Outlook will force one table below the other. Always be sure to test.
We have added a class to each table that will style them as 100% when viewed on a mobile device. When the tables become full width, they will no longer float next to each other, but will stack, giving us the appearance of 1 column.
Here is the CSS for the mobile styles:
![image](https://cdn.prod.website-files.com/61605d613e0aadb411522522/61605d613e0aadf07d52345b_Y1_wLIhOyM08VFBAynIhctoROFU7e0HE7qWtuorRs2aU8pcCQ-bFgE6zuVaEOIUL6KMrFFnJHCGjZlLeKW5-4hkdzYG6g5wOC-aKES9OWwYHQ0ZYOGg27ZZ3TmhAMVMXkHPH0E0W.jpeg)
![](https://cdn.prod.website-files.com/61605d613e0aadb411522522/61605d613e0aad0dd85237cb_grey_new_seo-08-512.png)
Adding Columns
Adding additional columns can be tricky, but it can be done.There are two ways multiple columns can be achieved.
1. The first method is the simplest, but for someone who is pixel perfect, not exactly ideal. Any number of tables can be aligned left to form multiple columns. The key here is to fix the width of each table to fit within your layout. Remember to leave room to allow Outlook to add space to the aligned tables.
![image](https://cdn.prod.website-files.com/61605d613e0aadb411522522/61605d613e0aad5d3b52348b_nVdVnbdeT_W1axVnPB6_iRccqJP_0U9TuJfVQQYToHvFp2MDja7RSpbmoOffcPg9CV5A1NDyw3xkZ__JWhOUdx-thHxkuX4XeDzPpmlUXPHRq3v1ma14OvHWCQyXpKONIXo80rLz.jpeg)
2. The second method will give you much better results, but requires more planning and math; but it is basic math, no reason to be afraid. Similar to the Listrak example that was explained, each table should contain two tables, one aligned left and the other aligned right. To add a third column, the first two tables need to be wrapped in a table that itself is aligned left, and the additional table will be aligned right. This can be repeated for any number of columns, each nested table containing just two tables.
![image](https://cdn.prod.website-files.com/61605d613e0aadb411522522/61605d613e0aad5dc352375e_KdTZjavIUUhT1Qn_wErTatQNOQWMPJmEHV0iRV22trNpySiHjQCiCAbKBq2wy8ZG4kKiWdYQQ0N_QJpqwGdpGRX8Q8YB-nSpPsYDzPzpskY-KT3wesaoeVqEZ-xxLexU3rcKiZWe.jpeg)
![](https://cdn.prod.website-files.com/61605d613e0aadb411522522/61605d613e0aad6f0c523715_5ccda3bb08feb99e3bf9dfc9_check-green.png)
Test These Responsive Email Tactics For Yourself
Try each of these methods and let us know which you prefer. Something else to try; with CSS you can make your widths become 100% to create a 1 column layout on mobile, but you can experiment with 50% widths to give yourself a 2 column layout on mobile. This works great for product layouts.
No matter how you do it, get your emails into a responsive format. The number of mobile users will only continue to grow in the coming years, stay ahead of the trends now.
Any questions? Let us know in the comments section.