Css styling


#1

this is what they are asking me to do:

In main.css:

Make a new CSS rule that selects all a elements nested inside

..
. Check out the example above.
Set the color to #5a5a5a. [some nav text to call back - Remember what color does]
Set the font-size to 11px
Set the font-weight to bold
Set the padding-top to 14px, and the padding-bottom to 14px
Set the padding-left to 10px, and the padding-right to 10px
Make the text uppercase using text-transform: uppercase;

so i put it it, i dont get it so i click hint and this comes up

Your CSS rule should look something like this:

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

so i put this:

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

its telling me to to change the padding-top to 14x.... i already have it


#2

You're missing a semi colon here :smile: