码迷,mamicode.com
首页 >  
搜索关键字:height    ( 24230个结果
如何将页脚固定在页面底部
方法一:HTML:页头区域页面内容页脚CSS:html,body{margin:0;padding:0;height:100%;}#container{min-height:100%;height:auto !important;height:100%;position:relative;}#hea...
分类:其他好文   时间:2015-03-09 14:06:19    阅读次数:147
Android--Vibrator(震动模式)
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-03-09 12:59:05    阅读次数:202
如何实现图片全屏(当图片大小不够大时)
方法一: 背景图片全屏要点: 1.设置包裹div 高和宽为:100% {width:100%; height:100%;} 2.设置包裹div 的 position为relative (position:relative;) 3.设置背景图片高和宽为:100% ...
分类:其他好文   时间:2015-03-09 12:48:35    阅读次数:137
HTML网页漂浮广告原理js实现
#demo { width: 100px; height: 100px; position:absolute; border-radius:50px; } window.onload = function(){ var de...
分类:Web程序   时间:2015-03-09 09:28:59    阅读次数:261
[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...
分类:其他好文   时间:2015-03-09 07:00:12    阅读次数:178
php基础学习笔记(2)
文字样式: 文字颜色:color 文字大小:font-size: 文字粗细:font-weight: 文字斜体:font-style: 文字字体:font-family: 文字修饰:text-decoration 行高:line-height: 首行缩进:text-indent: 字符间距:lett...
分类:Web程序   时间:2015-03-08 14:12:28    阅读次数:238
LeetCode Convert Sorted Array to Binary Search Tree
1.题目Given an array where elements are sorted in ascending order, convert it to a height balanced BST.2.解决方案1 struct Node{ TreeNode* t; int l; int r; Node(vector &num, int l, int r)...
分类:其他好文   时间:2015-03-08 10:28:52    阅读次数:148
css样式小例子
.black_overlay{ display: none;/*不显示,隐藏*/ position: absolute;/*绝对定位*/ top: 0%;/*距顶部0%[贴紧top]*/ left: 0%;/*距左侧0%[贴紧left]*/ width: 100%;/*宽度100%*/ height...
分类:Web程序   时间:2015-03-07 21:16:36    阅读次数:179
Balanced Binary Tree
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 ...
分类:其他好文   时间:2015-03-07 15:40:43    阅读次数:108
leetcode_108_Convert Sorted Array to Binary Search Tree
欢迎大家阅读参考,如有错误或疑问请留言纠正,谢谢 Convert Sorted Array to Binary Search Tree Given an array where elements are sorted in ascending order, convert it to a height balanced BST. 这道题是二分查找树的题目,要把一个有序数组转换...
分类:其他好文   时间:2015-03-07 14:15:44    阅读次数:130
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!