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 How to Make a Website Styling Web Pages and Navigation Build Navigation with Unordered Lists

Page Broken

As soon as I wrote the following css code, my mobile page semmed to be broken. I am writing the codes using sublime text because I was unable to upload anything on the workspace.

header { float: left; margin: 0 0 30px 0; padding: 5px 0 0 0; widows: 100%; }

Laurie Curiant
Laurie Curiant
8,965 Points

Hi, the windows property don't exist in css, i think you mean width: 100%

1 Answer

Jacob Herrington
Jacob Herrington
15,835 Points

If you could share more code, I might understand your problem better.

First off, though, I see a typo in your CSS.

header { 
  float: left; 
  margin: 0 0 30px 0; 
  padding: 5px 0 0 0; 
  widows: 100%; /* I'm assuming you meant to say windows here */
}

I'm not familiar with the "windows" rule in CSS, what are you trying to do?