2011年11月30日

摘要: css分页代码集合模板如下翻页上下分页按钮效果一div+css代码如下DIV代码:<div class="digg"><span class="disabled">&lt; </span><span class="current">1</span><a href="#?page=2">2</a><a href="#?page=3">3</a><a href="#?p 阅读全文
posted @ 2011-11-30 11:01 李兰 阅读(7591) 评论(0) 推荐(0) 编辑
摘要: CSS 边框即CSS border是控制对象的边框边线宽度、颜色、虚线、实线等样式CSS属性。Html原始边框与DIV+CSS边框对照Html表格控制边框:border="1" bordercolor="#000000"说明:控制表格边框宽度为1px,颜色为黑色,默认为实线样式边框。DIV CSS边框:border-color:#000; border-style:solid; border-width:1px;说明:以上代码为设置对象边框颜色为黑色、边框为实线、宽度为1px边框边框样式包括设置上边框:border-top :设置下边框:border-b 阅读全文
posted @ 2011-11-30 10:56 李兰 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 例一:我们计算一个左右结构的布局样式。假如总宽度为400px,那么左右加起来就应当小于400px,那我们可能左边为300px,右边为100px正确代码:<!DOCTYPE html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>左右结构宽度计算www.divcss5.com</title><style type="text/css">.yangsh 阅读全文
posted @ 2011-11-30 10:52 李兰 阅读(1559) 评论(0) 推荐(0) 编辑

2011年11月14日

摘要: (示例图片)(CSS代码)<style type="text/css">body{margin:4px 10px 4px 8px;background:#fff;color:#000;text-align:center}form,h1,h2,h3,h4,ul,li,dl,dt,dd{margin:0;padding:0}body,div,td,th{font-family:Arial;font-size:14px}div{text-align:left}img{border:0}ul{list-style:none}a{color:#36c;text-decor 阅读全文
posted @ 2011-11-14 15:52 李兰 阅读(906) 评论(0) 推荐(0) 编辑
摘要: (示例图片)<!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; charse 阅读全文
posted @ 2011-11-14 15:48 李兰 阅读(8407) 评论(0) 推荐(0) 编辑
摘要: (示例图片)(index.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="te 阅读全文
posted @ 2011-11-14 15:43 李兰 阅读(284) 评论(0) 推荐(0) 编辑

2011年11月7日

摘要: (图bj.gif)<!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; cha 阅读全文
posted @ 2011-11-07 11:04 李兰 阅读(969) 评论(0) 推荐(0) 编辑
摘要: <!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- 阅读全文
posted @ 2011-11-07 10:56 李兰 阅读(1265) 评论(0) 推荐(0) 编辑

2011年11月4日

摘要: <!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- 阅读全文
posted @ 2011-11-04 09:58 李兰 阅读(302) 评论(0) 推荐(0) 编辑
摘要: <!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- 阅读全文
posted @ 2011-11-04 09:56 李兰 阅读(410) 评论(0) 推荐(0) 编辑

导航