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
charles bailey
Front End Web Development Techdegree Student 4,345 PointsMedia query resizing issues.
I have multiple media queries and my divs are aligned perfectly in each query. The issue is as my view port grows my divs become uneven and not aligned. How can I keep all my divs even as they stretch?
1 Answer
Steven Parker
243,656 PointsTry using percentages for the dimension values.
This would help preserve your proportions in between media query break points.
To enable the most complete and accurate analysis, always include your code and a link to the course page you were working with.
Nijesh Nj
18,232 PointsNijesh Nj
18,232 PointsIt will be better if you post your code.