I want to turn this css element back to the default setting and I can't figure out how to override these list-style css elements. They are on another style sheet that I can't alter but I'm linking to. Please help if you know how.
ol li {
list-style: decimal;
}
ol {
list-style: decimal outside;
}
Use the initial keyword to set a property to its initial value. Use the inherit keyword to make an element's property the same as its parent. Use the revert keyword to reset a property to the value established by the user-agent stylesheet (or by user styles, if any exist).
To override the CSS properties of a class using another class, we can use the ! important directive. In CSS, ! important means “this is important”, and the property:value pair that has this directive is always applied even if the other element has higher specificity.
The CSS property for styling the marker type is list-style-type . The default list-style-type value for an ordered list is decimal , whereas the default for an unordered list is disc .
You may need:
ol li { display: list-item; }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With