使用IE的css表格对页眉/内容/页脚进行黑客攻击<;11
这是一个在chrome&FF上运行正常的页面。 它只适用于IE 11。。。。 我想要一个以前的IE的黑客 它是典型的页眉/内容/页脚,可以自动调整页眉/页脚的内容并获得内容的可用空间使用IE的css表格对页眉/内容/页脚进行黑客攻击<;11,css,internet-explorer,Css,Internet Explorer,这是一个在chrome&FF上运行正常的页面。 它只适用于IE 11。。。。 我想要一个以前的IE的黑客 它是典型的页眉/内容/页脚,可以自动调整页眉/页脚的内容并获得内容的可用空间 <!doctype html> <html lang='en'> <head> <style type='text/css'> * {padding: 0px;margin: 0px;-webkit-box-sizing: border-bo
<!doctype html>
<html lang='en'>
<head>
<style type='text/css'>
* {padding: 0px;margin: 0px;-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body {position: absolute; top: 0; left: 0;bottom: 0; right: 0;}
.MC_wrapper {
display: table;
height: 100%;
width: 100%;
overflow; hidden;
}
.MC_header { display: table-row;height: 1px;}
.MC_content {
display: table;
height: 100%;
width: 100%;
position: relative;
overflow: hidden;
background-color: #30C;
}
.MC_footer { display: table-row; height: 1px; }
</style>
</head>
<body>
<div class="MC_wrapper">
<div class="MC_header">Hello <br> How are you </div>
<div class="MC_content"> 1 </div>
<div class="MC_footer">Bye</div>
</div>
</body>
</html>
*{填充:0px;边距:0px;-webkit框大小:边框框;
-moz框大小:边框框;
框大小:边框框;
}
正文{位置:绝对;顶部:0;左侧:0;底部:0;右侧:0;}
.MC_包装纸{
显示:表格;
身高:100%;
宽度:100%;
溢出;隐藏;
}
.MC_标题{显示:表格行;高度:1px;}
.MC_内容{
显示:表格;
身高:100%;
宽度:100%;
位置:相对位置;
溢出:隐藏;
背景色:#30C;
}
.MC_页脚{显示:表格行;高度:1px;}
你好
你好吗
1.
拜伊
如有任何帮助,将不胜感激。您是否对浏览器向后兼容性进行过研究?你不会有任何运气,所以请这里的用户只写一个解决方案给你。你会得到更多的实际问题附加到这个。@leigero对不起,我不明白你的意思