Why won't by Font-Weight work?


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

this is my code! help!!!


Have you tried referencing it on the WWW?


i dont know what tha
t stands for


Each property/value pair should look like this:

property: value;

Can you spot where you are missing a few colons?


Oh dear god ! Have we as a species become so lazy that we can't even be bothered to use a search engine ?


Albionsrefuge I tried this and it doesn't work.


.nav a {
font-size: 11px;
font-weight: bold;
padding-left: 10px;
padding-right: 10px;
padding-top: 14px;
text-transform: uppercase;


You've almost got it. One of your curly brackets is the wrong way round. The declaration, that means the entire block of property/values, must be between an opening and a closing pair of brackets: { ... }.


A post was split to a new topic: Font weight