码迷,mamicode.com
首页 >  
搜索关键字:relative    ( 3126个结果
【css】ie6下使用css sprit 滤镜做透明图片
.service{ /*position:relative;*/ height:96% !important;overflow: hidden;}.pright{ height:40px; text-align:right; margin-top:30px; padding-right:50px; ...
分类:Web程序   时间:2014-08-07 18:44:31    阅读次数:249
div table 属性
div:1、基本属性:width, height, left, top, background-color(当设置为transparent时表示透明)2、定位属性:position: absolute/relativeabsolute时,位置固定;relative时,位置会随着内容的实际情况进行浮动...
分类:其他好文   时间:2014-08-07 12:45:40    阅读次数:213
解决IE6兼容性问题的十一大技巧
10要点解决IE6兼容性问题1、使用声明你必须经常在html网页头部放置一个声明,推荐使用严格的标准。例如or,forXHTML: 最后你需要是IE6进入兼容模式,这已经足够兼容了。2、使用position:relativeIE6兼容性问题解决方案二:使用position:relative。设置一个...
分类:其他好文   时间:2014-08-05 13:52:09    阅读次数:229
How to get the MouseEvent coordinates for an element that has CSS3 Transform?
I want to detect where a MouseEvent has occurred, in coordinates relative to the clicked element. Why? Because I want to add an absolutely positioned child element at the clicked location. I kn...
分类:Web程序   时间:2014-08-05 11:09:29    阅读次数:293
javascript 跟随鼠标移动的提示框的一个小demo
下面提供一种跟随鼠标移动的提示框的思路,方便在以后工作中应用,主要是应用到鼠标移动产生的数值来进行移动提示框的定位...CSS代码.box{height:100px;width:100px;background:orange;position:relative;margin:40px;}.move{...
分类:移动开发   时间:2014-08-04 10:40:27    阅读次数:257
leetcode-Partition List
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserve the original relative order of the nodes in each of...
分类:其他好文   时间:2014-08-03 23:28:56    阅读次数:261
Cocos2d-x3.2下实现 可联动的表格
效果图: 使用方法: setLayoutType(cocos2d::ui::Layout::Type::RELATIVE); auto winSize = Director::getInstance()->getWinSize(); auto tableFormLayout = T...
分类:其他好文   时间:2014-08-03 23:22:26    阅读次数:376
关于Layouts的分类
ViewGroup---------------------------------LinearLayout、Relative Layout、AdapterView----------------------------ListView、GridView||(Adapter)|-----------...
分类:其他好文   时间:2014-08-03 22:54:36    阅读次数:255
IE中a标签绝对定位时才生的bug
对a链接的display设置为block,以便整个标签可以点击。但是,如果对该标签设置为position:absolute后,会发现在ie6、ie7下有时点击无效,ie8下有效(ie8标准),使用zoom:1方式也无法解决问题。解决方案1、使用position:relative而不是position...
分类:其他好文   时间:2014-08-02 15:18:13    阅读次数:252
CSS3 perspecitve属性
MM.div1{ position: relative; height: 150px; width: 150px; margin: 0px; padding:2px; border: 1px solid black; perspective:550; -webkit-perspective:550;...
分类:Web程序   时间:2014-08-01 18:32:02    阅读次数:200
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!