Load html into div without changing the rest of page

后端 未结 2 1413
猫巷女王i
猫巷女王i 2020-12-19 13:53

So I\'ve seen tons of people asking how to load html into a div, and my code does that fine....but then the rest of the page changes when I load the html into the div.

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-19 14:21

    All your HTML markup is in the head section not the body

    try this:

     
     
     
    
     
    
    
    
         

    This is why I rule

提交回复
热议问题