When I was designing the web page, I added some CSS and JS code. Now the undesigned parts of the web page have all turned gray. I have set all the background colors, but they are still gray. If I only have one navigation bar on the page If so, everything at the bottom of the page is gray, but I have set the background color to white! ! What’s the explanation? ?
Without the code, I can only guess
It is estimated that when js is executed, the background color of the body is changed
First copy the code and spread it. Without the code, how can you know the reason?
Is it the js code you wrote that changed the background color? It is best to post the code so that you can easily check where the code is written incorrectly.
It is recommended to try the deletion method to see which part of the code is the problem, and then make modifications
Yes, how would you know without reading the code~~
Are you sure you have set the background color of the body to white in your css?
Then look at other files~js and so on. Is it under control? Or remove the other files being called first and see~~
I suggest you give us some code and we will help you analyze it