码迷,mamicode.com
首页 >  
搜索关键字:dynamic height.    ( 27614个结果
自适应屏幕宽度的居中布局
div{ height:200px; color:#F00;}.left{ float:left; width:100px; background:#00f; _margin-right:-3px;}.right{ float:right; width:100px; background:#0f0;...
分类:其他好文   时间:2014-05-26 23:51:20    阅读次数:401
在eclipse中创建web项目(非myeclipse)
如何创建dynamic web project项目本文的演示是从本地文件创建dynamic web project,从svn检出的同时创建dynamic web project于此类似。我们推荐使用解压版的tomcat6.x版本,来作为服务器。可以到http://tomcat.apache.org下...
分类:Web程序   时间:2014-05-26 12:17:57    阅读次数:327
Android -- 重置Bitmap大小&&Bitmap转角度
重置Bitmap大小 Bitmap bitMap = BitmapFactory.decodeFile(path);int width = bitMap.getWidth();int height = bitMap.getHeight();// 设置想要的大小int newWidth = 500;i...
分类:移动开发   时间:2014-05-26 12:07:00    阅读次数:263
css 内联元素inline 行框全解
首先看一篇文章:CSS框模型:一切皆为框 — 从行框说起一 行框 看图说话上图代表了框模型中的行框。line-height 属性设置行间的距离(行高)。该属性会影响行框的布局。在应用到一个块级元素时,它定义了该元素中基线之间的最小距离而不是最大距离。line-height 与 font-size 的...
分类:Web程序   时间:2014-05-26 10:23:31    阅读次数:485
CSS行高——line-height
初入前端的时候觉得CSS知道display、position、float就可以在布局上游刃有余了,随着以后工作问题层出不穷,才逐渐了解到CSS并不是几个style属性那么简单,最近看了一些关于行高的知识,就此总结一下。所谓行高是指文本行基线间的垂直距离。要想理解这句话首先得了解几个基本知识:顶线、中...
分类:Web程序   时间:2014-05-24 07:56:37    阅读次数:445
jQuery 效果 - animate() 方法
http://www.w3school.com.cn/jquery/effect_animate.asp实例改变 "div" 元素的高度:$(".btn1").click(function(){ $("#box").animate({height:"300px"});});亲自试一试定义和用法an....
分类:Web程序   时间:2014-05-23 02:40:35    阅读次数:313
苹果浏览器应用实战(四)
上篇实例为图片浏览器是从小说阅读器直接将图片分页替换文本分页,还是双页显示。页面小阅读比较吃力,本篇拟改动几行代码,用全屏显示,看看效果如何。      #pgnumber{position:fixed;font-size:12px;left:200px;height:25px;top:10px;width:200px;z-index:1;}  原top改成10px,也就是从页脚改到页眉,可以动...
分类:移动开发   时间:2014-05-23 02:28:51    阅读次数:397
2G03-view-radio-group
注意两点 1.通过android:checkedButton="@+id/lunch"而不是item中的 android:checked="true"设置的某人被选中状态 <RadioGroup android:layout_width="match_parent" android:layout_height="wrap_content" a...
分类:其他好文   时间:2014-05-23 00:04:35    阅读次数:344
使用构造函数初始化成员数组
#include using namespace std; class Box//盒子类 { public: //定义一个构造函数用于初始化对象数组 Box(int h, int w, int l); int volume();//计算盒子的体积 private: int height;//盒子的高 int width;//盒子的宽 int length;//盒子的长 }; ...
分类:其他好文   时间:2014-05-21 17:09:16    阅读次数:212
C++ Primer 学习笔记_81_模板与泛型编程 --类模板成员[续1]
模板与泛型编程--类模板成员[续1]二、非类型形参的模板实参template class Screen { public: Screen():screen(hi * wid,'#'), cursor(hi * wid),height(hi),width(wid) {} //.. private: std::string screen; std:...
分类:编程语言   时间:2014-05-21 14:00:04    阅读次数:332
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!