Style overwrite « Style Basics « HTML / CSS






1.Style cascade
2.Style cascade 1
3.class style overwrites the wildcard style
4.Id style overwrites the tag name style
5.CLASS overrules ELEMENT
6.ID overrules CLASS
7.inline styles overrule everything except !important
8.!important overrides all, including inline styles