码迷,mamicode.com
首页 >  
搜索关键字:height    ( 24230个结果
bootstrap中图标样式caret实现各种三角形
网页中经常有一种三角形的图标,鼠标点一下会弹出一个下拉菜单之类的之前以为是个png图标背景,后来在bootstrap中看到有一个图标样式叫做caret的用来实现这种效果。没想到用CSS也能实现这个效果。看了下源码是这样的:.caret{ display:inline-block; width:0; height:0; margin..
分类:其他好文   时间:2015-02-05 11:32:46    阅读次数:3277
Android小笔记之对话框形式修改日期
以对话框的形式弹出日期设置: 首先在xml中创建一个EditText输入框: android:id="@+id/et_time" android:layout_width="wrap_content" android:layout_height="wrap_content" //设置输...
分类:移动开发   时间:2015-02-05 10:49:03    阅读次数:228
C++]LeetCode: 133 Largest Rectangle in Histogram(最大矩形面积)
题目: Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histogram. Above is a histogram where ...
分类:编程语言   时间:2015-02-05 09:41:47    阅读次数:206
财务系统部分
2.1xml布局<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"><GridViewandroid:id="@+id/gv"android:numColumns..
分类:其他好文   时间:2015-02-05 07:12:20    阅读次数:127
popuWindow
1,xml布局<?xmlversion="1.0"encoding="utf-8"?><LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="wrap_content"android:layout_height="wrap_content"android:background="@drawable/local_popup_bg"android:orientat..
分类:Windows程序   时间:2015-02-05 07:11:23    阅读次数:228
Android小笔记之对话框形式修改日期
以对话框的形式弹出日期设置:首先在xml中创建一个EditText输入框:<EditTextandroid:id="@+id/et_time"android:layout_width="wrap_content"android:layout_height="wrap_content"//设置输入框点击事件android:onClick="dateshow"/>在主方法的onCreate中设置修改时间pri..
分类:移动开发   时间:2015-02-05 07:09:22    阅读次数:157
FE: CSS固定图片显示大小及GitHub Pages在线演示
CSS固定图片显示大小分析假设图片区域的大小固定为250×300px,那么我们可以写出如下的样式.picture-area { width: 250px; height: 300px; margin: 1em;}当然简单如下的html是不能限制图片大小的 换个思路,将图片作为...
分类:Web程序   时间:2015-02-04 21:33:55    阅读次数:144
android 自定义toast width height 背景图片
Android 自定义toast 宽高大小 背景图片 RelativeLayout layout = (RelativeLayout) getLayoutInflater().inflate(R.layout.layout_custom_toast,null); ((TextView) layout.findViewById(R.id.tvCheckoutWay)).s...
分类:移动开发   时间:2015-02-04 18:45:06    阅读次数:161
一个弹出层,相对浏览器居中,可以随浏览器缩放大小,有最大值和最小值(当然不支持ie6)
下边是代码.div1{ position: fixed; z-index: 9999; background: #ccc; width: 100%; height: 100%; left: 0; top: 0}.div2{ position: absolute; min-width: 320px; ...
分类:其他好文   时间:2015-02-04 18:27:03    阅读次数:109
华为轮播图
<!doctypehtml><html><head><metacharset="utf-8"><title>无标题文档</title><styletype="text/css">*{padding:0;margin:0;}li{list-style:none;}#div1{min-width:1000px;height:400px;position:relative;overflow:hidden;}#div1ul{..
分类:其他好文   时间:2015-02-04 16:50:29    阅读次数:249
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!