简体   繁体   中英

Visual Studio Code Live server injects a white div to the bottom of the HTML page

https://i.stack.imgur.com/ciyJv.png - White DIV on the website.

https://i.stack.imgur.com/wHwJX.png - White DIV code.

https://i.stack.imgur.com/ZraZI.png - No such code in HTML.

The white DIV is injected by live server AND it goes over to the website hosted by DNS.

https://www.kristotanak.ee

How do I get rid of it? I am a 16 year old student studying software development soo please don't bully me.

You can add in your css file:

body {
    min-height: 100vh;
}

Your code seems to have ended there. The white you claim is being displayed is by default the background-color of your browser.

It's a div with an iframe inside, for me works this code in the css

div iframe {
   display: none;
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM