码迷,mamicode.com
首页 >  
搜索关键字:height    ( 24230个结果
d3.js学习-联系力学图
对这个做了一个小小的改变json数据也在以上链接var width=screen.width-100, height=screen.height-160;//颜色尺度var color = d3.scale.category20();//var force=d3.layout.force(...
分类:Web程序   时间:2015-01-20 17:27:18    阅读次数:172
安卓--拖动条(SeekBar)实例
main.xml代码如下: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertica...
分类:移动开发   时间:2015-01-20 15:50:38    阅读次数:175
安卓--信息提示框(Toast)实例
main.xml代码如下: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertica...
分类:移动开发   时间:2015-01-20 15:45:26    阅读次数:205
css书写顺序
1.位置属性(position, top, right, z-index, display, float等)2.大小(width, height, padding, margin)3.文字系列(font, line-height, letter-spacing, color- text-align等...
分类:Web程序   时间:2015-01-20 15:38:00    阅读次数:119
(document).height()与$(window).height()
jQuery(window).height()代表了当前可见区域的大小,而jQuery(document).height()则代表了整个文档的高度,可视具体情况使用. 注意当浏览器窗口大小改变时(如最大化或拉大窗口后) jQuery(window).height() 随之改变,但是jQuery(do...
分类:Windows程序   时间:2015-01-20 13:29:34    阅读次数:139
Android开发屏幕自适应方法
先来看一下效果图: 上图是通过设置layout_weight来解决Android多屏幕自适应。该属性的作用是决定控件在其父布局中的显示权重,一般用于线性布局中。 其值越小,则对应的layout_width或layout_height的优先级就越高,一般横向布局中,决定的是layout_width的优先级;纵向布局中,决 定的是layout_height的优先级。     传统的...
分类:移动开发   时间:2015-01-20 09:03:49    阅读次数:169
Android控件-TextView
Android的控件中有很多公共的属性,这些公共属性都将以TextView为例在进行记录。1 基本使用1.1 layout_width、layout_height android:layout_width与android:layout_height可以有三种值,介绍如下:1)fill_pare...
分类:移动开发   时间:2015-01-20 00:56:44    阅读次数:293
table /div 居中的几种实现方法
综述:虽然CSS提供了vertical-align属性来设置居中,但它只对提供了vertical-align特性的元素才使用,比如说,而则是没有valign属性的。一、div居中的实现方法:1. div内只显示单行元素时:只要给容器设置line-height和height,并使两值相等,再加上ove...
分类:其他好文   时间:2015-01-19 23:35:11    阅读次数:226
IE6 最大(小)高宽
-、最大宽/高IE6无法认读max-width,max-height属性,但IE支持自己javascript的属性表达,例如div{width:expression(250+"px")}和div{widt:250px}在IE 的认读中都是一致的!但是,如果在用户在浏览器禁用javascript,那么...
分类:其他好文   时间:2015-01-19 22:21:37    阅读次数:142
bootstrap-wysiwyg 结合 base64 解码 .net bbs 图片操作类 (三) 图片裁剪
官方的例子 是 长方形的。我这里 用于 正方形的头像 所以 做如下 修改 #preview-pane .preview-container { width: 73px; height: 73px; overflow: hidden; }可惜很莫名奇妙的是 有的时候...
分类:Web程序   时间:2015-01-19 17:08:46    阅读次数:143
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!