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!

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

header selector not matching HTML

http://www.empres.arq.br/empresarq/

HTML

<header> <img class="logo" src="../empresarq/img/logo-empresarq.png"> <div class="nav"> <a href=""><li>Contato</li></a> <a href=""><li>Projetos</li></a> <a href=""><li>Sobre</li></a> <a href=""><li>+ARQ</li></ul></a> <br><h1>Arquitetura também é planejamento.</h1> </div> </header>

-CSS-

<style> .header { min-width: 100%; max-height:100%; background-color: aquamarine; margin-bottom: 5em; margin-top: 5em; } <style>

why it's not matching?

2 Answers

Devin Scheu
Devin Scheu
66,191 Points

As far as I can see above you do not have a header class defined on your html, but you are selecting a class named header in your CSS. You can't select something that is not there :).

If you think my answer was good, feel free to mark it as best answer below, if you need more help in the future from me, you can contact me at devinwscheu@gmail.com.

thanks devin !