javascript - After setting the background, the RBRACE result page appears and the webpage does not respond.
学习ing
学习ing 2017-07-05 10:52:16
0
1
1096

1. I just started self-study and wanted to add a background to the title, but I got an error

2.html code:

<p id="container">
           <p id="header">
              <p id="Love Live Sunshine">
                  <p>
                                    <h1>Love Live Sunshine</h1>
                                    <hr width="960&">
                                    <p>这是一个标题!!!</p>
                  </p>
               </p> 
            </p>

3.CSS code:

#header{
    margin: 0;
    width: 100%;
    background: url(网站图片资源/LLSS.jpg);
    background: no-repeat;
    background: center;
}

Thank you all in advance (ง •_•)ง

学习ing
学习ing

reply all(1)
曾经蜡笔没有小新

This is a warning from csslint.

#header{
    margin: 0;
    width: 100%;
    background: url(网站图片资源/LLSS.jpg);
    background: no-repeat;
    background: center;
}

This is wrong, background has been set repeatedly.

One more suggestion for you, don’t use Chinese in the file name.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template