Monday, 15 March 2010

html - Only Internet Explorer shows 1px unwanted space -


When opening a site in IE, unwanted 1px space occurs under the footer Chrome and Firefox looks just like I want I mean (this means margin-down: 0).

The same bug appears while hovering the navigation item 1px is the visible location again, only IE.

I would like to know why this is happening.

  & lt; Header & gt; & Lt; H1 & gt; Logo image & lt; / H1> & Lt; Div id = "logonam" & gt; & Lt; Img src = "http://www.ssbwiki.com/images/thumb/9/9a/DKSymbol%28preBrawl%29.png/50px-DKSymbol%28preBrawl%29.png" & gt; & Lt; / Div & gt; & Lt; / Header & gt; & Lt; NAV & gt; & Lt; Ul & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; Home & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; News & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; Reference & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; Contact & lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Neo & gt; & Lt; Div id = "content" & gt; & Lt; Section & gt; & Lt; P & gt; Hello! This is a section and here it will be some beautiful material about these beautiful things. & Lt; / P & gt; & Lt; / Section & gt; & Lt; Articles & gt; & Lt; P & gt; Hello again. This is an article about something new, what can you see recently? & Lt; / P & gt; & Lt; / Article & gt; & Lt; On one hand & gt; & Lt; P id = "sider" & gt; It's a cider, it's on the left side of the website. It's a cider. It's on the left side of the website. It's a cider. It's on the left side of the website. It's a cider. It's on the left side of the website. It's a cider. It's on the left side of the website. It's a cider. It's on the left side of the website. It's a cider. It's on the left side of the website. It's a cider. It's on the left side of the website & lt; / P & gt; & Lt; / One side & gt; & Lt; / Div & gt; & Lt; Footer & gt; & Lt; P id = "credit" & gt; Copyright 2015 | All Rights Reserved & lt; / P & gt; & Lt; P id = "logo" & gt; Logo name & lt; / P & gt; & Lt; / Footer & gt;  

Make sure you have a body Also set the properties for them. Therefore

  body {margin: 0; Padding: 0, Width: 100 VW; Height: 100 vh;}  

IE is an annoying browser that unfortunately many people still use, but in every browser the body has to be set in such a way.


No comments:

Post a Comment