Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS Introducing the Practice

Grace Weaver
Grace Weaver
1,388 Points

#text div and image box are not lining up.

I'm having problems getting my image and text box to line up. The text box is far too wide. I entered the following code for the #text id:

text {

width: 600px; padding: 100px 50px; border: 25px solid lightsalmon; margin: 10px; background-color: floralwhite; } Am I doing or missing something? Or is there a setting that I can adjust on my computer? thanks!

If your screen is wider than 600px, probably it will be out of your screen because you set width:600px . maybe you can try "width:100%" (but it depends on your container size.) or put <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1"> in your HTML heading