Setting div border to 1px wide


#1


https://www.codecademy.com/en/courses/web-beginner-en-6merh/1/7?curriculum_id=50579fb998b470000202dc8b#

<------------------------------------------------------------------------------------------------------>
I followed the Hint: Hint:
Seeing errors with the border width? Try resizing your browser by clicking ctrl+0 (Windows) or cmd+0 (Mac)

And still receive this error:

Oops, try again. Did you set your

's border to 1px wide?

This error is common in many of the lessons...

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

#2

surprisingly same code lets me pass..(I'm on chrome)

I'll suggest to try Firefox/IE.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.