首先看一下效果图:
整个页面布局为:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:back...
分类:
移动开发 时间:
2015-01-15 18:14:37
阅读次数:
199
-------------------------------------------------------------public class WeatherData { private int low; private int height; private Stri...
分类:
其他好文 时间:
2015-01-15 17:54:29
阅读次数:
161
http://www.cnblogs.com/clare-zhang/archive/2011/08/26/2154220.html正像你所知道的那样,设置DIV大小的有两个属性width和height,以前在学习DIV每次给DIV设置100%宽度或高度时都很迷惑,不明 确这个100%的宽度(高度)...
分类:
其他好文 时间:
2015-01-15 17:45:02
阅读次数:
205
该属性值会对元素的高度设置一个最低限制。因此,元素可以比指定值高,但不能比其矮。不允许指定负值。所有主流浏览器都支持 min-height 属性。注释:任何版本的 Internet Explorer (包括 IE8)都不支持属性值 "inherit"。http://www.w3school.com....
分类:
Web程序 时间:
2015-01-15 17:26:55
阅读次数:
114
昨天公司网站需要弹窗提示一些信息,要我在把弹窗的js代码和弹窗窗口html写在一起哪里需要就调用不说那么多了,直接上代码,感觉肯定会有兼容问题,看到了一定指出呀
#H-dialog{display:none;position:absolute;z-index: 9999999;width:400px;height: auto; background-color: #fff;}
#H...
分类:
Web程序 时间:
2015-01-15 14:19:25
阅读次数:
188
.annual_meeting_bg1,.annual_meeting_bg3{ width:100%; height:164px;}.annual_meeting_bg2{ width:100%; height:163px;}.annual_meeting_bg1{ background:url(...
分类:
其他好文 时间:
2015-01-15 12:44:42
阅读次数:
173
京东商城首页标价定位小横条首页导航的下拉1、京东商城首页标价定位.p-img{ height: 130px;}.p-price{ margin:-28px 0 0 74px;}.price{ background-color: #ff0000; color: #fff; padding: 2px 5...
分类:
其他好文 时间:
2015-01-15 12:28:42
阅读次数:
146
private var starNum:int = 100; //星星数量 private var scene_width:int=1440; //星星的舞台范围 private var scene_height:int=500; //星星的舞台范围//星空效果 动态添加星星for(var j...
分类:
其他好文 时间:
2015-01-15 09:17:21
阅读次数:
178
function Shape(){
this.name = 'shape';
this.toString = function(){
return this.name;
}
}
function TwoDShape(){
this.name = '2D shape';
}
function Triangle(side,height){
this.name = 'Triangle';...
分类:
编程语言 时间:
2015-01-14 22:56:01
阅读次数:
285
什么是line-height(行高)?line-height设置1.5和150%有什么区别?这是一个比较常见的css面试题,带着这个问题往下看。所谓行高是指一段文字中某一行的高度吗?具体来说不是。w3school是这样定义的: line-height 属性设置行间的距离(行高),该属性会影响行...
分类:
Web程序 时间:
2015-01-14 22:40:58
阅读次数:
218