11 Errors in all browsers won't let me pass


Cannot create a button in any browser. ERROR on all three I've tried.


Error in one form or another in 3 different browsers. In firefox my height is 49.8px instead of 50px in chrome my border-color is not #6495ED same in Internet Explorer. even if copy and pasted the hex from the instructions It will not let me pass this.

My code is correct and It should let me move on.

What do I do?

div {
    height: 50px;
    width: 120px;
    border-color: #6495ED;
    background-color: #BCD2EE;
    border: 2px solid black;


The border-width property sets the width of an element's four borders.
This property can have from one to four values.
If you only use width/height, the size of the element could be bigger then you expect.
You should use:
border-style and border-width

Note: Always declare the border-style property before the border-width property.
An element must have borders before you can set the width.


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