Invalid style after introducing html page through ajax

After

b.html introduces header.html through ajax, the b page sets its own style is invalid, what is the reason?

Mar.14,2021

your page has been added to page b. It may be that the hierarchy is incorrect. For example, your style is .a .bp {/ * * /}, but the structure of your application is not.


you need to set up a local server to introduce a page through ajax, and you need to access it through an ip address to have an effect

.
Menu