在网页中实现稿纸效果
来源:互联网 发布:淘宝贷款还不了不还了 编辑:程序博客网 时间:2024/05/09 18:08
在网页中实现稿纸效果
1.html部分代码参考
<!doctype thml><html><head><meta charset="utf-8"><link rel="stylesheet"type="text/css"href="styles/style.css"><title>稿纸设置</title></head><body><div id="paper"><div class="title">红叶科技有限公司<samp class="title_p">电话:6666-6666666</samp></div><div class="style"> </div><div class="style"> </div><div class="style"> </div><div class="style"> </div><div class="style"> </div><div class="style"> </div><div class="style"> </div><div class="style"> </div><div class="style"> </div><div class="style"> </div><div class="style"> </div><div class="style"> </div><div class="style"> </div><div class="style"> </div><div class="style"> </div><div class="style"> </div><div class="style"> </div><div class="style"> </div><div class="footer">---第X页---</div></div></body></html>
2.css部分(css所在的文件夹名字为style)
/*--设置稿纸效果--*/#paper{position: absolute;border:solid;background:#ffffff;border-color: #cccccc;border-width: 1px;width: 400px;height:530px;left:100px;top:50px;z-index: 3;}/*--设置稿纸页眉效果--*/.title{width:auto;height:35px; border-bottom-width: 3px; border-bottom-color: #ff3300; border-bottom-style: double; padding-left:35px; line-height: 3em; font-family: "华文楷体"; font-size: 16px; color: #ff3300;}.title_p{padding-left:100px;font-family: "宋体";font-size: 8px;}/*--设置稿纸页脚效果--*/.footer{height:15px;line-height: 7em;text-align: center;font-family: "宋体";font-size: 8px;color: #ff3300;border-top-color: #ff3300; border-bottom-style: double;}/*--设置稿纸行效果--*/.style{border:dotted;border-color:#999999;border-top-width: 0px;border-left-width: 0px;border-right-width: 0px;border-bottom-width: 1px;margin-left: 5px;margin-right: 5px;line-height: 1.5em;}
0 0
- 在网页中实现稿纸效果
- 如何在Word2010中设置不一样的稿纸
- 网页中android Toast效果的实现
- 网页正在加载中,效果实现
- 网页中android Toast效果的实现
- 自定义函数实现百度搜索关键字在网页中匹配字符高亮显示效果
- 在传统网页上实现手机中的下拉刷新效果
- 网页加载效果实现
- 使用JavaScript在网页中显示toggle效果
- 在网页中添加 加载效果的总结
- 网页在地址栏和收藏夹中图标显示效果
- 网页中显示效果
- 网页中文字及图片实现滚动效果
- 网页中图片轮翻效果(js+jQuery实现)
- 如何利用css3来实现网页中钟表的效果
- jquery实现网页中常见的展示列表效果
- 网页中导航栏实现子菜单下拉效果
- Bootstrap实现部分网页中常见的页面效果!
- android进程与线程
- 微信开发之微信网页授权 完整示例
- Mysql入门(十)之事务
- BSOJ3806 TYVJ 2032 升降梯上
- 前言
- 在网页中实现稿纸效果
- STL学习之vector
- 平衡二叉树
- ubuntu下将vsftpd配置成虚拟用户访问方式
- 前端SEO
- 第五章知识点总结
- 乐视2017暑期实习笔试
- CSS 利用after before进行绘制
- android 各种框架总集合.