I added two tables to a page and though they have similar content, the columns don’t align. I’ve tried some things with CSS which looked good on a desktop but it didn’t translate well to other devices, like a phone. Is there any way to line these columns up short of making this all in one table? I’d like to have the separation.
Hi Blaise!
Drag a codeblock element to the page and add this inside.
<style type = "text/css">
table tr > td:last-child {
width: 30%;
}
</style>
Regards,
Elliott
That worked visually on the desktop, but on an iPhone, the text in the right column is now moved over to the left within the cell. I had the tables set to adjust for screen size.
So, I’ve now set the tables to scrollable instead – this looks better anyway. Just thought I’d report how the code effected content.
Thanks!