非CSS高手勿进!!! - Web 开发 / HTML(CSS)
<head runat="server">
<title>无标题页</title>
<style type="text/css">
*{ margin:0}
body,html,form{ height:100%}
</style>
</head>
<body>
<form id="form1" runat="server">
<div style="height:100%;background:red;">
<div style="height:77px; background:blue;"></div>
<div style="????"></div>
</div>
</form>
</body>
</html>
如何实现那个div占满空余位置,即100%-77px??????????????????????????????????
CSS code:
<div style="height:100%;margin-top:77px;background:red;">
<div style="height:77px;position:absolute;top:0px;left:0px; background:blue;"></div>
</div>
记忆中是这样的,没有试验,见谅!
顶。不错。。。。。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=gb23
相关问答:
HTML code
<html>
<head>
<title>直接输入的Excel表格 </title>
<style>
<!--
table.formdata{
border:1px solid #5F6F7E;
border-collapse:collaps ......
<div style="WIDTH: 8; HEIGHT: 12;
OVERFLOW: scroll">
这里输入内容这里输入内容这里输入内容这里输入内容这里输入内容
这里输入内容这里输入内容这里输入内容这里
</scrollbar> ......
我用object标签载入一个外部的html文件可是用vs2008打开却不显示,显示红叉,请问是怎么回事?
用iframe载入。
可以用iframe载入
用iframe载入超链接地址不改变,没办法跳转页面
引用
用iframe载入超链接地址 ......
<span id="Label1">如果能看到这个标签 说明我们已经能从HTML 页面上获取了这个元素控件传递到Silverlight应用程序中 </span>
<br />
<input type="sub ......
各位大哥大街们,我想把HTML转换成PDF,使用的是FOP,但是报错:
java.lang.ClassCastException: org.apache.fop.layout.BlockArea cannot be cast to org.apache.fop.layout.AreaContainer
at com.test.Html2Pdf ......