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

HTML HTML Forms Form Basics The Button Element

Trying to find issue with form element sizing for Surface Pro 2 screen.

This isn't directly related to the video, but it is relevant to learning responsive design.

The sign up form we use to practice in this set of "Form" videos will not fit on my screen neatly centered like it is on our instructor's screen. The form boxes and button stretch all the way across my screen. I've done a little googling, and changed a few things in the viewport tags, and nothing changed.

Do I need to edit the viewport meta tag or do I need to go into the media query in the CSS? Could it also be a browser default messing up the CSS? (I'm using Chrome on a Surface Pro 2.)

I'm really not even sure how to properly describe the issue to a search engine to find the answer on my own. Thank you for any help!

justinw
justinw
14,517 Points

Hi Heidi Hlavinka! I would recommend adjusting the CSS or implementing the normalize.css stylesheet. Are you able to share the code (html & css) and we can do a review to assist further?

Thanks!