Home  >  Article  >  Web Front-end  >  The div size of the html4.0 file header is inconsistent with the css under ie9_html/css_WEB-ITnose

The div size of the html4.0 file header is inconsistent with the css under ie9_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:54:08853browse

The div size of the html4.0 file header is inconsistent with the css under IE9.
How to fix, due to project reasons, the declaration file header cannot be changed

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html>	<head></head>	<body>		<style>			.box{width:15px;height:15px;border:2px solid gray;}		</style>		<div class="box"></div>	</body></html>


Reply to the discussion (solution)

Can anyone help me to reply? I want to recover my points

http://baike.baidu.com/view/1119452.htm?fr=aladdin

Why can’t I modify the file header? This If you want to be compatible with the premise of the game, forget about it.
Even if you modify the file header, searching the entire file is very simple. Just replace this paragraph with empty space and the workload is not big:
'PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN'

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