码迷,mamicode.com
首页 >  
搜索关键字:vertical    ( 1534个结果)
利用jQuery实现垂直菜单和水平菜单效果
1利用jQuery实现垂直菜单1.1创建VerticalMenu.html文件,内容如下:<!DOCTYPEhtml> <html> <headlang="en"> <metacharset="UTF-8"> <linkhref="vertical.css"rel="stylesheet"> <scriptsrc="jq..
分类:Web程序   时间:2015-04-23 00:09:51    阅读次数:226
LeetCode 11 Container With Most Water 装尽可能多的水
题目: Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, ...
分类:其他好文   时间:2015-04-22 11:36:08    阅读次数:165
[LeetCode]Container With Most Water
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Fin...
分类:其他好文   时间:2015-04-21 22:41:35    阅读次数:156
IE6\7下BUG
1、IE6下的双边距BUG IE6下浮动的块级元素有横向margin值,margin值成设置值的两倍解决方法:加display:inline2、IE6、7下li下的几px的间隙问题在IE6、7下li本身没浮动,但是内容有浮动就会多出来几px间隙解决方法:1、li加浮动2、li加vertical-al...
分类:其他好文   时间:2015-04-21 20:09:01    阅读次数:97
HTML CSS 中DIV内容居中汇总
转载博客(http://www.cnblogs.com/dearxinli/p/3865099.html)(备注:DIV居中情况,网上谈到也比较多,但是这篇文字,相对还是挺全面,现转载,如果冒犯,还望博主见谅)在说到这个问题的时候,也许有人会问CSS中不是有vertical-align属性来设置垂....
分类:Web程序   时间:2015-04-21 14:16:47    阅读次数:184
Android布局中LinearLayout的android:layout_gravity="bottom"不起作用
在做界面布局的时候,我们经常用到的就是LinearLayout,但是有时候用起来也不方便,比如我们在页面中要把一个Button放在屏幕底部,此时我们设置android:layout_gravity="bottom"是没有效果的。为什么呢?对于 LinearLayout: 当 android:orientation="vertical"  时, 只有水平方向的设置才起作用,垂直方向的设置不...
分类:移动开发   时间:2015-04-21 11:10:47    阅读次数:153
LocationManager获取地理经纬度
xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     android:paddingBottom="@dimen/activity_vertical_margin"     andr...
分类:其他好文   时间:2015-04-20 18:35:19    阅读次数:118
垂直居中的几种方法比较(纯CSS)
方法一           content   .table {display:table;}.table-cell {display:table-cell; vertical-align:middle;}优点:content 可以动态改变高度,如果你不需要支持IE7浏览器,这个应该是首选方案,也是W3C推荐的方案。缺点:IE7和IE8 beta不支持。方法二Content#content { p...
分类:Web程序   时间:2015-04-19 22:50:42    阅读次数:180
ie6下兼容问题
最小高度问题:overflow:hidden在ie6、7下 li本身不浮动 内容浮动 li产生3像素间隙 解决:vertical-align:top; 二、当ie6下最小高度问题和li间隙问题共存时 给li加浮动滤镜:标准浏览器【opacity:0.5】 ie6【filter:alpha(opaci...
分类:其他好文   时间:2015-04-19 01:01:21    阅读次数:113
[LeetCode] Container With Most Water
Container With Most Water Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i ...
分类:其他好文   时间:2015-04-18 17:44:43    阅读次数:128
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!