大背景

news/2024/7/8 5:09:57

html如下:

<!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=UTF-8" />
<title>Sky Background Example</title>
<style type="text/css">
body {
 padding: 0;
 margin: 0;
 background: #73ADD7 url(images/gradient.gif) repeat-x;
 color: #666;
}
#page {
 background: url(images/sky.jpg) no-repeat center top;
 width: 100%;
 display: table;
}
#content {
 width: 852px;
 margin: 205px auto 0;
 background: #fff;
 border: solid 1px #ccc;
 padding: 20px;
}
h1 {
 margin: 0;
 padding: 0;
}
</style>
</head>

<body>
<div id="page">

 <div id="content">
  <h1><a href="http://www.webdesignerwall.com/tutorials/how-to-css-large-background/">How to: CSS Large Background</a></h1>
  <p><a href="http://www.webdesignerwall.com/tutorials/how-to-css-large-background/"></a> Tutorial by <a href="http://www.webdesignerwall.com">Web Designer Wall</a></p>
  <p style="padding-bottom: 800px"> </p>
 </div>

</div>
</body>
</html>


http://www.niftyadmin.cn/n/3970898.html

相关文章

利用System.Drawing画线状图,柱状图和饼图.

以前实现图表的时候,采用的是OWC,方法如下: OWC11下载网址http://www.microsoft.com/downloads/details.aspx?familyid7287252C-402E-4F72-97A5-E0FD290D4B76&displaylangzh-cn使用教程http://blog.csdn.net/Eray/archive/2007/03/20/1534509.aspx 如果对图表要求较复杂…

css div圆角代码

-moz-border-radius:20px; -webkit-border-radius:20px; border-radius:20px;

关于treeview控件复选框

js吧。。给你代码。我实现了的。。没什么问题。记得在Page_load时间写 this.TreeView1.Attributes.Add("onclick", "CheckEvent()"); JScript code //获取元素指定tagName的父元素 function public_GetParentByTagName(element, tagName) { var paren…

推荐几个比较好用的GTD工具

前几天听米老师讲了关于时间管理的课&#xff0c;其中提到了GTD&#xff08;Getting Things Done&#xff09;。GTD是一种比较先进和有效的时间管理理论&#xff0c;我们可以用这种理论来提高我们学习效率&#xff0c;使我们在面对众多的待完成任务时&#xff0c;有条不紊。 我…

对象不能从DBNull 转换为其他类型的解决方法

string sql_str"select MAX(lID) from liuyan":改成 语句string sql_str "select iif((MAX(lID)) is null,0,1) from liuyan"; iff(判断&#xff0c;是&#xff0c;否) 但是只能添加一次&#xff0c;因为第二次添加运行string sql_str "select i…

如何在Eclipse中添加tomcat服务器

在J2EE开发中&#xff0c;时不时的要在编程过程中预览自己所做的开发&#xff0c;如果每次都将工程发布到TOMCAT来预览这样很麻烦&#xff0c;于是我们需要将tomcat添加到Eclipse中以便随时启动预览工程项目。 这里我们说下如何在Eclipse中添加Tomcat服务器。 配置完成后&#…

.net20做网站过程

1&#xff0c;根据需求ps出网站模板&#xff0c;切割图片。 - 2&#xff0c;保存到dw中&#xff0c;画层。 - 3&#xff0c;到vs中&#xff0c;建母版页&#xff0c;在层里放入ContentPlaceHolder&#xff0c;创建内容页。 - 4&#xff0c;所有编辑代码在内容页ContentPlace…

C#中的XML注释

C#中的XML注释注:转载自http://hi.baidu.com/czlaner/blog/item/aa9251d35e7005033af3cfce.html 上篇文章提到过如何使用Sandcastle创建C#的帮助文档&#xff0c;这需要在源文件中插入XML注释&#xff0c;以“///”的形式出现。C#的“///<></>”注释在编译生成xml时…