For general web development questions that are not specifically related to CSS HTML Validator. This includes (but is not limited to) general HTML, CSS, Accessibility, JavaScript, and SEO questions.
HTML validator is displaying the following CSS Multiple Definition:
The "border" shorthand property and the "border-style" property (with only one value) have both been used. The "border" shorthand property already defines the following properties: "border-style", "border-color", and "border-width". Therefore, the "border-style" property has been defined twice. Consider using only the "border" shorthand property.
According to the W3Schools website, the following is correct:
div {
border-style: outset;
border-color: coral;
border-width: 7px;
}
I tried putting outset on the same line as "Border: solid 5px 000000; but that causes the outset to disappear.
Last edited by paulp575 on Wed Jun 16, 2021 11:27 pm, edited 1 time in total.