码迷,mamicode.com
首页 >  
搜索关键字:relative    ( 3126个结果
DOM操作--自动生成100个li(变色版)
一、效果图。二、HTML+CSS代码。<style>.box{width:800px;margin:90pxauto;}.btn{padding:5px10px;color:#fff;background:#ff6600;cursor:pointer;font-size:16px;border-radius:5px;}.list{position:relative;margin-top:20px;}.listli{width:50px;height:50px;position..
分类:其他好文   时间:2014-10-21 19:58:22    阅读次数:258
innerHTML应用--自动生成一个V字形
一、效果图。二、HTML+CSS代码。<style>.box{width:800px;margin:90pxauto;}.btn{padding:5px10px;color:#fff;background:#ff6600;cursor:pointer;font-size:16px;border-radius:5px;}.list{position:relative;margin-top:20px;}.listli{width:50px;height:50px;position..
分类:Web程序   时间:2014-10-20 17:34:33    阅读次数:311
ie6 fixed不兼容
处理方式但是会让页面上的relative 和 position 定位都变成 fixed 定位用expression 可以让ie实现页面固定,但是是设置absolute实现,会出现抖动,通过 设置background-image 解决* html,* html body{background-imag...
分类:其他好文   时间:2014-10-20 16:34:07    阅读次数:152
My impression towards Xinjiang.
Hi,MynameisKhanittafromPhuket,Thailand.MynicknameisMui(Thaisalwaysuseanicknametocallafriend/relative.I‘dtraveledinXinjiangfromSeptember28toOctober06,2014.Itwasveryimpressiveandexciting.
分类:其他好文   时间:2014-10-20 02:18:14    阅读次数:177
Distinct Subsequences 解题报告
题目:给两个字符串S和T,判断T在S中出现的次数。 A subsequence of a string is a new string which is formed from the original string by deleting some (can be none) of the characters without disturbing the relative positions of the remaining characters. (ie, "ACE" is a subsequence...
分类:其他好文   时间:2014-10-19 17:09:51    阅读次数:190
CSS之定位
(3属性 IE6不支持)position : static:默认 absolute:绝对定位 relative:相对定位 fixed:窗口定位(出现滚动条不随滚动条移动)z-index:定义层叠级别top:定位元素上距right:定位元素右距buttom:定位元素下距left:定位元素左距(...
分类:Web程序   时间:2014-10-14 11:55:28    阅读次数:216
div css背景颜色半透明 文字不透明兼容ie、火狐等浏览器
IE:外层filter,内层position:relative或absolute。FF:外层不使用opacity,而用background:rgba()。[html]view plaincopyNewDocument图层背景半透明,字体颜色也半透明图层背景半透明,字体颜色不半透明
分类:Web程序   时间:2014-10-13 18:24:11    阅读次数:254
Translating Conditional Branches
By using a PC-relative encoding of the jump targets,the instructions can be compactly encoded(requiring just 2 bytes),and the object code can be shift...
分类:其他好文   时间:2014-10-11 12:04:35    阅读次数:171
css position: absolute、relative详解
CSS2.0 HandBook上的解释:设置此属性值为 absolute 会将对象拖离出正常的文档流绝对定位而不考虑它周围内容的布局。假如其他具有不同 z-index 属性的对象已经占据了给定的位置,他们之间不会相互影响,而会在同一位置层叠。此时对象不具有外补丁( margin ),但仍有内补丁( ...
分类:Web程序   时间:2014-10-11 01:48:04    阅读次数:279
水平居中
未知宽度水平居中:.page{position: relative;left: 50%;float: left;}.page li{position: relative;right: 50%;display: inline-block;float: left;margin: 0 4px;}
分类:其他好文   时间:2014-10-10 14:48:43    阅读次数:182
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!