我的后台首页是
这样个模式但是显示器分辨率不同它高度我是固定的,怎么能在不同的分辨率下让它高度100%的显示呢
例如
<div style="height=760px; alert:center;">
<div style="width:100%"></div>
<div>
<div style="float:left; width:20%;"></div>
<div style="float:left; width=80%;"></div>
</div>
</div>
这样个模式但是显示器分辨率不同它高度我是固定的,怎么能在不同的分辨率下让它高度100%的显示呢
例如
<div style="height=760px; alert:center;">
<div style="width:100%"></div>
<div>
<div style="float:left; width:20%;"></div>
<div style="float:left; width=80%;"></div>
</div>
</div>
<div style="height=760px; alert:center;">
改成
<div style="height=100%; alert:center;">
不可以吗?
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head><body style="margin:0px;">
<div style="text-align:center">
<div style="width:100%; height:200px; background-color:#666666"></div>
<div>
<div style="float:left; width:25%; height:100%; background-color:#CCCCCC"></div>
<div style="float:right; width:74%; height:100%; background-color:#999999"></div>
</div>
</div></body>
</html>
<div style="float:left; width:80%;"> </div>