Stuck on border 12/25


#1

I have tried it both ways and I still get:

***Oops, try again. Did you set your **
**

's border to 1px wide?***

div{

border-width:1px;
border-style: solid;
border-color:black;

}

div{ border: 1px solid black;}

============================================================================
div{

border-width:1px;
border-style: solid;
border-color:black;

}

============================================================================

If anyone else is getting this, please let me know so we can report a bug.


Stuck on border width on 12/25
#2

Could you post your full html + css code? The problem could be anywhere


#3

I'm having the same problem with this lesson and others. I'm on HTML & CSS 6.1 now and I'm unable to proceed with code that is correct.


#4

Same answer, post your full code so i can check it.


#5

Did you try putting a space between "div" & "{" ?
i.e. - div {


#6

I got the same error as OP. Here is my code:

div {
border: 1px black;
background-color: #CC0000;
margin:10px 5px 5px 50px;
padding: 0px 30px 0px 10px;
}

The HTML part is completely unchanged from what the tutorial gave me to begin with


#7

Have had the same problem for a few weeks now that I stopped learning and only came back to see if it was updated. Guessing a bug.


#8

border has 3 values: width, style and color. Your border doesn't have a style (solid, dashed whatever is required)