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

CSS Positioning Forum

View Course

139 points
51d2dd8f52f863c46000cd0d_549807083
Submitted by
tintinandcalculus
about 3 years ago

Oops, try again! It looks like your border-width isn't 1px.

I'm sure my code is correct, I've checked the other forums, but I still keep getting an error. This is my code:

  • { border: 1px dashed #0000FF; }

6 votes

permalink

I just reset my code and then did this,
* {
border: 1px dashed;
color: #0000FF;
}
worked fine, copy my code and reset yours

146 points
3accd59ae084a80e6c99641b41da595b?s=140&d=retro
Submitted by
Luk3
about 3 years ago

2 Comments

51c60c7c7c82ca38e50120d1_295360620 David about 3 years ago

There is something wrong with the syntax checker. I copied your code and it still doesn't work. The correct code should be: * { border: 1px dashed #0000FF;}

51c60c7c7c82ca38e50120d1_295360620 David about 3 years ago

Ok, I set my "Google-Crome" browser zoom to 100% and now it works. I had previously set the zoom to 75% in order view the page better on my screen.


0 votes

permalink

Same thing here

531 points
515ac5a4ad1b2e84e00012fa_174799230
Submitted by
Bruno Leite
about 3 years ago

1 Comment

90b713789caed133141df85453050aaf?s=140&d=retro Brown Letua about 3 years ago

the universal selector is * not . I did it using * and it took the code. I hope this helps.


0 votes

permalink

use shift+8(*) instead of dot(.)

454 points
5151548c539e2e0bd1001906_114579158
Submitted by
Mojtabaa
about 3 years ago

3 Comments

51ba6e4a282ae3c87e0009ad_628184475 David about 3 years ago

This is is my code
*
{
border: 1px dashed #0000FF;
}

It doesn-t work, I'm stucked

3accd59ae084a80e6c99641b41da595b?s=140&d=retro Luk3 about 3 years ago

same for me, by the looks of it the code is correct - maybe another glitch in the mark up - any updates?

308388ab48601af7a9a095967f5a9974?s=140&d=retro mooseroose about 3 years ago

same problem

tried in firefox and IE = Does NOT work
tried in Chrome = WORKS

devs are most likely working with chrome and it doesnt work on other browsers.... i've ran into a few problems like this already


0 votes

permalink

Same problem in my case. I wrote:

p, img, h3 {
border: 1px dashed;
color: #0000FF;
}

And it does not work.

254 points
E2c8770b79f26f8d5d256c10fc5f3822?s=140&d=retro
Submitted by
SwPiotrXD
about 3 years ago

1 Comment

F6eeffe649a9137499e23d40d7b77005?s=140&d=retro blogJumper71053_4f141ce065abdf000100 about 3 years ago

Try this:

  • { border-color:#0000FF; border-width:1px; border-style:dashed; }