A little question from a rookie about web design, waiting for the answer online~_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:16:02
Original
1023 people have browsed it

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? ?


Reply to the discussion (solution)

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

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template