码迷,mamicode.com
首页 >  
搜索关键字:height    ( 24230个结果
js 实现倒计时特效
<divid="tiao"style="width:559px;height:300px;"></div><!--脚本开始--><scriptlanguage="javascript"type="text/javascript">countDown(3);functioncountDown(secs){/*document.getElementById("tiao").style.backgroundImage="url(/tpl/Wap/default..
分类:Web程序   时间:2015-02-12 14:08:00    阅读次数:180
限定 edittext 的 输入内容
android:id="@+id/idNumber"                 style="@style/NewServiceEditTextline"                 android:layout_width="match_parent"                 android:layout_height="wrap_content"          ...
分类:其他好文   时间:2015-02-12 14:02:23    阅读次数:112
jquery上传图片---本地浏览图片
//说明:图片上传预览插件//上传的时候可以生成固定宽高范围内的等比例缩放图//参数设置://width 存放图片固定大小容器的宽//height 存放图片固定大小容器的高//imgDiv ...
分类:Web程序   时间:2015-02-12 12:03:42    阅读次数:210
CSS动态控制DIV居中
1.所谓的动态:就是即使手动去拖拉浏览器,DIV还是会自动居中2.之前一直以为这个事情是JavaScript做的, 步骤:通过先获取页面的Height和Width, 然后定义DIV的Height和Width, 最后通过上面的值运算 DIV的top值 = (页面的Heght-Div的H...
分类:Web程序   时间:2015-02-12 11:59:19    阅读次数:129
CSS样式覆盖顺序
有时候在写CSS的过程中,某些限制总是不起作用,这就涉及了CSS样式覆盖的问题,如下Css代码#navigator{height:100%;width:200;position:absolute;left:0;border:solid2#EEE;}.current_block{border:soli...
分类:Web程序   时间:2015-02-12 10:36:31    阅读次数:381
Gallery
1,xml布局<RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"><Galleryandroid:id="@+id/gallery"android:layout_..
分类:其他好文   时间:2015-02-12 02:02:04    阅读次数:192
盒子模型的理解
布局: box1 box2测试1(默认样式):测试2(设置长度和宽度):body, div { margin: 0; padding: 0;}.box { width: 100px; height: 50px;}效果:在 CSS 中,width 和 height ...
分类:其他好文   时间:2015-02-11 23:15:52    阅读次数:256
leetcode 110. Balanced Binary Tree
Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth...
分类:其他好文   时间:2015-02-11 21:56:18    阅读次数:117
Balanced Binary Tree
Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth...
分类:其他好文   时间:2015-02-11 21:46:20    阅读次数:170
手机网页Html代码实现(解决显示页面很小的问题)
手机网页Html代码实现(解决显示页面很小的问题)其实主要就是改掉HTML页面声明:在网页中加入以下代码,就可以正常显示了:解释:width - viewport的宽度height - viewport的高度initial-scale - 初始的缩放比例minimum-scale - 允许用户缩放到...
分类:移动开发   时间:2015-02-11 18:33:03    阅读次数:187
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!