When designing for clients that dynamically pull in products in their emails using java, I normally have tables aligned to the left so that they can stack, however I was wondering if there was a way to set media queries in the css so that if there is only one table to have it aligned to the centre, however still have tables align to the left if there is more than one.
Hope this makes sense, thank you in advance :D
Hi! Are you referring to the 2-to-1 column layout? If so, a single table should already span the full width on small screens, meaning it wouldn't need to be centered with additional @media queries. Would you mind showing us the code you are working with?
From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that drive real business results.Get started for free