In the process of cooperation, we often encounter such problems. The style CSS made by others should be retained and added by ourselves.
Then, I added it and found it was not covered by others, but it was covered by others.
We can solve this problem in this way.
Code:
<! Doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <HTML xmlns = "http://www.w3.org/1999/xhtml">
Effect:
The style of the following two divs is basically the same, but the first plug-in (understand what I mean) style: Background-color is followed by! Important. Therefore, although the background-color is defined in the css of the first Div line, it is referenced in the background-color of the plug-in. Others are not specified! Important is overwritten by the style in the row.
Including :! Important styles not included