Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Julie Vandebosch
10,360 PointsResponsive email: position of table cells
I followed the HTML email design by Fabio Carneiro here on Treehouse and this is the way I build my emails now. I'm just wondering how I can make all images appear below the text on mobile when I have articles that have images on their right side and some on their left side (on larger resolutions). Can anyone help?
Julie Vandebosch
10,360 PointsUnfortunately, I don't have any code yet for my email. But I always build them like in the course HTML email design by Fabio Carneiro so we could use that code as a sample? For example how can I get "presents The Works of Édouard Mane" on top of the square gallery logo on mobile?
1 Answer
Tobias Edwards
14,458 PointsI haven't yet tried that course, but it sounds like you want to have a look into media queries and manipulating your page contents that way for different resolutions.
I've got a feeling you'll be needing to make use of nth-child?
Best of luck :)
Rich Donnellan
Treehouse Moderator 27,741 PointsHey Tobias,
Unfortunately, nth-child isn't very well supported by email clients.
Rich Donnellan
Treehouse Moderator 27,741 PointsRich Donnellan
Treehouse Moderator 27,741 PointsHey Julie,
Do have some sample code you can provide?