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

CSS CSS Selectors Selectors - Beyond the Basics DRY CSS

maya sophie
maya sophie
5,754 Points

The 'submit' and 'reset' buttons are not displayed inline when 769 px or more

Hi I just can't make them display inline...it may be an app bugg...I don't know ...pls help

https://w.trhou.se/ebgo5gkx9n https://w.trhou.se/ebgo5gkx9n

5 Answers

Kevin Gates
Kevin Gates
15,052 Points

Under your files: css/selectors.css

At the end you have this:

@media (min-width: 769px) {
  .inln {
    widht: auto;
    display: inline-block;
  }
}

If you look closely, you misspelled "width".

I used correct spelling but it still isn't working

@media (min-width: 769px) { .inln { width: auto; display: inline-block; } }

Correct typo on width and recheck.

maya sophie
maya sophie
5,754 Points

thx ...so much time lost....:(

Kevin Gates
Kevin Gates
15,052 Points

Hey, no worries. We've all been there. :)

Don't use Workspaces, use a decent (and FREE) IDE like VS Code. That way, any typos are highlighted. This will save you tons of time in the long run.