Home  >  Article  >  Web Front-end  >  The footer display effect is different in chrome and ie. Solution_html/css_WEB-ITnose

The footer display effect is different in chrome and ie. Solution_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:03:371088browse

The effect is normal in chrome
There is a gap between it and the browser in ie


Website layout


The efficiency of pasting code is too low. Just look at the website
Website address www.paotile.com

Please point out the seniors


Reply to the discussion (solution)

Found the reason Yes, the line-height value set in the footer is 5px more than the div height
But for this reason, there are different effects in IE and chrome. It’s quite interesting

I don’t see any difference, you This question is too general

I don’t see any difference

Statement:
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