This forum is now read-only. Please use our new forums at discuss.codecademy.com.

CSS: An Overview Forum

View Course » View Exercise

203 points
1c72216d37ea1b9c1e0f1d50a447c1cc?s=140&d=retro
Submitted by
Abu Bakar
over 1 year ago

css code error ( size and borders)

h1{
font-family: Garamond , serif ;color:#576D94;
}
p{
font-size:18px ;color: #4A4943; font-family:Verdana, sans-serif , serif
}

img{
    height: 100px;
    width:  300px;
    border: 1px solid #4682b4 ;
}

/Oops, try again. Did you remember to give your image a 1px solid #4682b4 border?/


0 votes

permalink

The same thing(

428 points
5608449e86f55250f6000378_811833476
Submitted by
Timofei Kornev
over 1 year ago

3 Comments

1c72216d37ea1b9c1e0f1d50a447c1cc?s=140&d=retro Abu Bakar over 1 year ago

its shows error still..my code is correct but still tells me to give the border..

1c72216d37ea1b9c1e0f1d50a447c1cc?s=140&d=retro Abu Bakar over 1 year ago

thanks anyways, . I set Chrome browser zoomed at 100%. when I set the zoom settings to 100%, all was well and I passed with the same code.

5608449e86f55250f6000378_811833476 Timofei Kornev over 1 year ago

Yeeeep, I tried this thing too and succeeded)


0 votes

permalink

I'm stuck there too :-(

479 points
5626fe66e39efeabdd000219_14257628
Submitted by
Hagai (guy) Zwick
over 1 year ago


0 votes

permalink

tried both. And nothing.

376 points
55fdf54a95e378e0460000a1_793566772
Submitted by
José Carlos de Almeida Machado
over 1 year ago


-1 votes

permalink

I solved it, try:

height:100px;
width:300px;
border: #4682b4 1px solid;

Good luck!

479 points
5626fe66e39efeabdd000219_14257628
Submitted by
Hagai (guy) Zwick
over 1 year ago