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

Design HTML Email Design Coding HTML Email Building Common Design Patterns

Sandra Vu
Sandra Vu
3,525 Points

Better resources to understand the rationale behind the width setting in responsive markup?

I understand that one needs to set width to percentage or to have a static value for the design to be responsive.

But is there a more detailed explanation for each value in each scenario? I got confused when to use 100%, 520px or 600 px.

1 Answer

DavidPaul sullivan
DavidPaul sullivan
17,377 Points

I believe it's best practice to only use percentages when the element you are working with is a child of a table that has a width set to 600px max. Hope that makes sense.

Sandra Vu
Sandra Vu
3,525 Points

Thanks David. Appreciate your answer.