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
khristine jackson
6,213 PointsOnline Registration form - Media Queries
I made the adjustments for the overall width of the mobile layout, it broke some of the layouts of the inputs. The input widths I have for the mobile view combined with not giving the labels a set width until after the media query are causing some unintended jumping of the page and unpredictable moving of the labels from above the input. I adjusted the input lengths from 60% to 90% around.
/* Media Queries */
@media only screen and (min-width:768px) {
top-banner {
width: 100%;
}
div {
overflow: auto;
}
wrapper {
width: 550px;
}
contact label {
width: 150px;
display: inline-block;
}
contact input {
display: inline-block;
}
zip {
width: 150px !important;
}
Steven Parker
243,656 PointsWhen posting code, use the instructions for code formatting in the Markdown Cheatsheet pop-up below the "Add an Answer" area.
 Or watch this video on code formatting.
1 Answer
Matthew Potter
8,718 PointsTry overflow: hidden instead of auto. Reply back so I can walk your through this issue. Try it with your changes and try it with your original code before you adjusted it.
Patrik Horváth
11,110 PointsPatrik Horváth
11,110 Pointsany LIVE PREW is availble ? use codepen.io for example