今天有人问了谷歌和火狐下input输入框中的光标大小显示不一致,之前都没遇到过这~把人家的解决方法转过来先~~~以前在项目里碰到过一个问题input输入框用一个背景图模拟,设置height和line-height一样的高度,使里面的输入文字能够居中,在FF下出现的情况是:点击input时,输入光标其...
分类:
其他好文 时间:
2014-07-16 18:35:18
阅读次数:
1378
在StackOverflow上有这么一个问题,有位同学在http://css-tricks.com/examples/ShapesOfCSS/找到一些使用CSS做的形状,其中一位同学对下面的这个形状充满了疑问。形状是:代码是:#triangle-up {width: 0;height: 0;bord...
分类:
Web程序 时间:
2014-07-16 17:42:09
阅读次数:
213
修改Aqua的ligerui-grid.css.l-panel-topbar 样式修改为:.l-panel-topbar{padding: 0;background: #CEDFEF url('../images/panel/panel-toolbar.gif') repeat-x;height: ...
分类:
其他好文 时间:
2014-07-16 16:02:14
阅读次数:
295
// JavaScript Documentalert($(window).height()); //浏览器当前窗口可视区域高度 alert($(document).height()); //浏览器当前窗口文档的高度 alert($(document.body).height());//浏览器当前窗...
分类:
Web程序 时间:
2014-07-16 15:45:12
阅读次数:
189
Ext代码Ext的组件构造函数的width、height不支持100%的设置方式,因此动态获取高度宽度来解决问题。 组件构造的时候这样写: width:Ext.get("component").getWidth(), height:Ext.get("component").getHeight(),....
分类:
其他好文 时间:
2014-07-16 15:38:02
阅读次数:
253
InputBox等窗体的字体大小设置方法Graphics.DefFontData.Height:=48;Graphics.DefFontData.Style:=[fsBold,fsItalic, fsUnderline];inputbox('aa','aa','dd');Graphics.DefFo...
分类:
其他好文 时间:
2014-07-16 12:41:49
阅读次数:
605
_scrollView = [[UIScrollView alloc] init]; //height = 0:禁止垂直方向滚动 _scrollView.contentSize = CGSizeMake(kTwo * kScreenW, 0); //不显示水平方向的滚动...
分类:
其他好文 时间:
2014-07-16 12:04:24
阅读次数:
218
html {min-height: 100%;}body {background: #F2F2F2;color: #323232;text-align: center;font-family: "微软雅黑", Arial, Helvetica, sans-serif;font-size: 14px;...
分类:
其他好文 时间:
2014-07-15 23:36:17
阅读次数:
265
mc2.gotoAndStop(1);varbmd1=newBitmapData(mc1.width,mc1.height,true,0);bmd1.draw(mc1);varbmd2=newBitmapData(mc2.width,mc2.height,true,0);bmd2.draw(mc2);stage.addEventListener(Event.ENTER_FRAME,frameFunc);functionframeFunc(e:Event):void{ mc1.x=this.mouseX; mc..
分类:
其他好文 时间:
2014-07-15 12:07:45
阅读次数:
202
一、表格的常用属性基本属性有:width(宽度)、height(高度)、border(边框值)、cellspacing(表格的内宽,即表格与tr之间的间隔)、 cellpadding(表格内元素的间隔,即tr与tr之间的间隔)、bordercolorlight(表格的亮边框颜色)、 borderco...
分类:
其他好文 时间:
2014-07-14 17:51:22
阅读次数:
223