码迷,mamicode.com
首页 >  
搜索关键字:height    ( 24230个结果
Leetcode 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...
分类:其他好文   时间:2014-06-28 10:07:19    阅读次数:208
Leetcode Largest Rectangle in Histogram
Givennnon-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histog...
分类:其他好文   时间:2014-06-27 23:01:16    阅读次数:259
jquery $(window) 和$(document)的实践
1. $(window).scrollTop() 和$(document).scrollTop()得出的结果是一样的2. * $(window).height()得到的浏览器的窗口的高度,随着窗口大小改变而改变。(在文档加载完成之后使用) * $(document).heigh...
分类:Windows程序   时间:2014-06-27 18:44:52    阅读次数:295
$(window)和$(document)
注意:本次测试采用的jquery1.9.1的版本1. $(window).scrollTop() 和$(document).scrollTop()得出的结果是一样的2.$(window).height()得到的浏览器的窗口的高度,随着窗口大小改变而改变。(在文档加载完成之后使用) $(docum.....
分类:Windows程序   时间:2014-06-27 18:07:53    阅读次数:227
document.body.clientHeight和document.documentElement.clientHeight区别
document.body.clientHeight:body对象的高度document.documentElement.clientHeight:指可见区域的高度获取元素中滚动条的垂直偏移可以写成:var top = document.documentElement.scrollTop || do...
分类:其他好文   时间:2014-06-27 17:03:46    阅读次数:202
6月25号=》211页-215页
9.1.1 CSS3新增的box-sizing属性 css3新增了box-sizing属性来设置width、height控制哪些区域的宽度、高度、这样就可以让开发者控制起来更加方便。 例如有些时候,开发者需要控制的并不是该元素内容的宽度,高度,而是该元素整体(包括padding...
分类:其他好文   时间:2014-06-26 15:08:09    阅读次数:184
理解盒模型
DIV+CSS有两种盒模型标准w3c盒模型IE盒模型如何让浏览器能够按标准盒模型来处理,就是在网页的顶部加上DOCTYPE声明。如果不加 DOCTYPE声明,那么各个浏览器会根据自己的行为去理解网页。标准盒模型中width和height指的是内容区域的宽度和高度,增加内边距、边框和外边距不会影响内容...
分类:其他好文   时间:2014-06-26 14:41:50    阅读次数:198
语音输入和文字输入动画切换
随着语音的快速普及,很多应用都开始增加语音输入功能。下面是一个简单的语音和文字输入的动画切换: 布局文件: <ViewFlipper android:id="@+id/viewFlipper1" android:layout_width="fill_parent" android:layout_height="wrap_content" ...
分类:其他好文   时间:2014-06-26 14:27:41    阅读次数:145
关于textarea在safari chrome下可拖动大小的问题
解决方法:resize: none;或者:max-width:300px;max-height:300px;width:300px;height:300px;
分类:其他好文   时间:2014-06-26 12:27:35    阅读次数:194
PHP在线生成3D条形图,折线图
首先在http://www.pudn.com/downloads422/sourcecode/flash/detail1788568.html下载flash包然后再页面上贴上如下代码<objectwidth="100%"height="350"classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/..
分类:Web程序   时间:2014-06-26 06:04:53    阅读次数:219
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!