After deploying the program on the local machine, start the local TOMCAT, but no CSS effect is displayed when the local machine accesses the page, and it seems that it is not loaded. When other machines are accessed, the display is normal. Why is this? The browsers are the same. Is it a browser setting problem or something else?
Try clearing the cache.
Has it been published to tomcat and is the file path correct?
Let me tell you about the situations I have encountered.
There is this sentence at the top of the HTML file
is just above the tag. This sentence is If there is no document standard or it has been modified, the css style will not work;
Also, when importing the style, did you write the sentence wrong? Look at the capitalization of the letters, etc.;
Or you copy all the styles Go to the page and try to see if it works. I hope it helps you! ! !