CSS代码: .box { width: 355px; height: 500px; padding-top: 30px; padding-bottom: 30px; margin-left: auto; margin-right: auto; position: relative; } .list ...
分类:
其他好文 时间:
2017-01-09 14:23:00
阅读次数:
235
private void DrawImageRectRect(string rawImgPath, string newImgPath, int width, int height) { System.Drawing.Image imageFrom = System.Drawing.Image.Fr ...
分类:
其他好文 时间:
2017-01-09 12:37:03
阅读次数:
216
数据库表里面字段的值想用另一种命名形式展示,如1是 是,2是 否 解决方法: 用到formatter,{field: 'params', title: '参数', width: 100, sortable: true, align: 'left', hidden: true},{field: 'ty... ...
分类:
其他好文 时间:
2017-01-09 11:14:03
阅读次数:
181
不同的分辨率以及浏览器自适应,列表不出现滚动条,表格内容自动换行。方法:通过定义表格列属性,结合CSS样式和定义的列单元格样式 'td_huanhang'/'td_unhuanhang'"columnDefs": [ {targets: 9, orderable: false, width: "10... ...
分类:
其他好文 时间:
2017-01-09 10:53:52
阅读次数:
470
学习js有一段时间了,断断续续的写了几个项目,就近期写东西时遇到的问题,写个简单的笔记,内容不太系统,比较零碎。 CSS部分: 1.文本溢出用省略号显示:p { width:100px; overflow:hidden; white-space:nowrap; text-overflow: elli ...
分类:
Web程序 时间:
2017-01-08 16:36:03
阅读次数:
186
删除和查看详情操作的共同语句:就是怎么显示表? 1.在主体中写表的开头行,想要显示的内容,并且加载数据也要显示的地方也建张表 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 <table width="100%" border="1" cellpadding="0" cell ...
分类:
Web程序 时间:
2017-01-08 16:22:36
阅读次数:
249
现在很多网站的Banner图片都是全屏宽度的,这样的网站看起来显得很大气。这种Banner一般都是做一张很大的图片,然后在不同分辨率下都是显示图片的中间部分。实现方法如下: 把css中 .bannerbox 中 height 及 .banner 和 width 换成你banner图的大小,然后 .b ...
分类:
其他好文 时间:
2017-01-07 22:13:50
阅读次数:
232
bootstrap模板为使IE6、7、8版本(IE9以下版本)浏览器兼容html5新增的标签,引入下面代码文件即可。 移动端适配问题: <meta name="viewport" content="width=device-width, initial-scale=1"> web端兼容IE浏览器版本 ...
分类:
Web程序 时间:
2017-01-07 16:24:21
阅读次数:
265
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>css3时钟</title> <style> .box{ width: 300px; height: 300px; border-radius: 50%; bo ...
分类:
Web程序 时间:
2017-01-07 16:19:38
阅读次数:
280
<html> <head> <meta name="viewport" content="width=device-width" /> <title>Index</title> <script src="~/Scripts/jquery-1.10.2.min.js"></script> <style ...
分类:
其他好文 时间:
2017-01-07 15:21:44
阅读次数:
398