2.Navigation


#1
> my code:

> " <div class="nav">
> .nav a {
>     color= #5a5a5a;
>     font-size= 11px;
>     font-weight= bold;
>     padding-top= 14px;
>     padding-right= 10px;
>     text-transform= upppercase;
> }
> </div> "

and I get this:

Oops, try again. Set the color of the a elements inside <div class="nav">..</div> to #5a5a5a


#2

Hi I think that you should put that part

 .nav a {
   color= #5a5a5a;
   font-size= 11px;
   font-weight= bold;
   padding-top= 14px;
   padding-right= 10px;
  text-transform= upppercase;
 }

In the css


#3

He is in CSS... but didnt work..


#4

Any idea how to fix this..


#5

If that was in the CSS file, then you should take the HTML bits out.

These are HTML code:

<div class="nav">
</div>

The CSS interpreter doesn't understand HTML.


#6

If I'm understanding correctly, you should remove the following lines if this is in CSS:

<div class="nav>
</div>

#7

Yes, you are understanding the problem correctly.


#8

Can somebody screenshot me.. please.. I dont understand..
Sorry my English isnt great.. I dont understand so much..
I need ss of html and css..


#9

general css syntax:

selector {
  property: value;
  property: value;
}

you seem to be using equal signs after a property, this is incorrect


#10

Thank you :smiley: