??xml version="1.0" encoding="utf-8" standalone="yes"?>91在线观看,国产精品第8页,久久超碰97人人做人人爱 http://www.aygfsteel.com/raven/向天I发誓,从此不再感情用事... zh-cn Tue, 17 Jun 2025 04:27:53 GMT Tue, 17 Jun 2025 04:27:53 GMT 60 自定义Select下拉框样?/title> http://www.aygfsteel.com/raven/archive/2007/04/24/113066.htmlRaven Raven Mon, 23 Apr 2007 16:53:00 GMT http://www.aygfsteel.com/raven/archive/2007/04/24/113066.html http://www.aygfsteel.com/raven/comments/113066.html http://www.aygfsteel.com/raven/archive/2007/04/24/113066.html#Feedback 6 http://www.aygfsteel.com/raven/comments/commentRss/113066.html http://www.aygfsteel.com/raven/services/trackbacks/113066.html
< script > // 完成下拉框选择时的模拟行ؓ function changeSelect(formV,toV){ document.getElementById(toV).innerHTML = formV.options[formV.selectedIndex].text; } </ script > < style > .sb { position: relative ; height: 20px ; > height: 24px ; border: 1px solid #639 ; float: left ; color: #000 ; } .sb .b { /* 模拟下被切除的下拉框(select) */ position: absolute ; height: 22px ; line-height: 22px ; padding: 0 2px ; overflow: hidden ; white-space : nowrap ; text-overflow : ellipsis ; font-family: verdana ; font-size: 12px ; } .sb select { position: absolute ; top: 0 ; right: 0 ; } .w_50{ /* 以此来控制该下拉框的长度Q可按需要添加多个长度ClassQ如w_100Qw_200 */ width: 50px !important ; } .w_50 select{ /* Ҏ长度切割默认下拉?/span>*/ width: 50px ; clip: rect(2px 48px 20px 32px) ; /* 切除下拉?select)内容区域Q只保留下拉三角头 */ } </ style > < div class ="sb w_50" > < div class ="b" id ="selectTest0" > 先生 </ div > <!-- 模拟下拉框的列表昄区域 --> < select name ="RegAndLoginInPublishPage1:dpSex" id ="RegAndLoginInPublishPage1_dpSex" onchange ="changeSelect(this,'selectTest0')" > < option selected ="selected" value ="44444" > 先生 </ option > < option value ="55555" > 奛_ </ option > </ select > </ div >
代码没有优化Q只惌现方法与思\?/span>
]]>QQ“备注”的意义 http://www.aygfsteel.com/raven/archive/2007/04/18/111443.htmlRaven Raven Tue, 17 Apr 2007 18:30:00 GMT http://www.aygfsteel.com/raven/archive/2007/04/18/111443.html http://www.aygfsteel.com/raven/comments/111443.html http://www.aygfsteel.com/raven/archive/2007/04/18/111443.html#Feedback 4 http://www.aygfsteel.com/raven/comments/commentRss/111443.html http://www.aygfsteel.com/raven/services/trackbacks/111443.html 图中昄了QQ资料可以自主讄好友备注Q标?#8220;1”Q,一般情况下用于帮助用户能更快更Ҏ的将列表中的好友和潜意识中的某个特定的h相关联。设|后Q无论对Ҏ么ҎUͼ自己好友列表中的名字都不会变Q标?#8220;2“Q,由此解决了一些用L怸知道好友是谁的问题。但同时也带来了另一个问题: “늧”本n最大的意义在于个性化传播Q假如,我希望我所改变的昵U能在第一旉让我的好友收刎ͼ而好友却因ؓ不想因ؓ我改名后不认识我了,g得已Ҏq行了备注操作,那么我的愿望无法达成,好友必须“查看资料”来被动更新我的最新昵Uͼ好友q不知道我改q昵UͼQ?br> 个h是,在好友列表中仍然昄好友的个性昵Uͼ而当用户需要了解此人时Q再点击资料Q主动获取此人的备注Q如果已l添加)Q这不仅W合传统意义?#8220;备注”的定义,同时也保权了部分用户的个性化展示需求?br>t踏实实做hQ勤勤恳恛_事,我的技术博客,旉一q_l箋更新Q?/span>
]]> 一ƾcssD设计 http://www.aygfsteel.com/raven/archive/2006/05/13/45978.htmlRaven Raven Sat, 13 May 2006 06:54:00 GMT http://www.aygfsteel.com/raven/archive/2006/05/13/45978.html http://www.aygfsteel.com/raven/comments/45978.html http://www.aygfsteel.com/raven/archive/2006/05/13/45978.html#Feedback 4 http://www.aygfsteel.com/raven/comments/commentRss/45978.html http://www.aygfsteel.com/raven/services/trackbacks/45978.html 是在蓝色理想上面回答一个问?/a>时设计的。个得难度主要在于兼容テQ与Qu两个览器方面!
< style > #nav ul { list-style : none ; } #nav li { float : left ; margin : 0 10px ; } #nav a { text-decoration : none ; display : block ; width : 60px ; border-left : 5px solid #ccc ; padding-left : 3px ; raven_on : expression(onmouseover=function(){this.all.tags("span")[1].style.color="rgb(0,106,161)" ; } ); raven_off:expression(onmouseout=function() { this.all.tags("span")[1].style.color="#999"; } ); } #nav a:hover { border-left : 5px solid red ; } #nav span { display : block ; font-size : 12px ; color : #000 ; } #nav .navtext_en { font-family : Verdana ; font-size : 10px ; font-weight : bold ; line-height : 10px ; color : #999 ; } #nav a:hover [class="navtext_en"] { color : rgb(0,106,161) ; } </ style > < div id ="nav" > < ul > < li >< a href ="#" >< span > q回首页 </ span >< span class ="navtext_en" > Home </ span ></ a ></ li > < li >< a href ="#" >< span > 注册甌 </ span >< span class ="navtext_en" > Reg </ span ></ a ></ li > < li >< a href ="#" >< span > 最新日?nbsp; </ span >< span class ="navtext_en" > Read </ span ></ a ></ li > < li >< a href ="#" >< span > 博客列表 </ span >< span class ="navtext_en" > Insider </ span ></ a ></ li > < li >< a href ="#" >< span > 可选模?nbsp; </ span >< span class ="navtext_en" > Template </ span ></ a ></ li > </ ul > </ div >
]]> 我自qQSQx?/title> http://www.aygfsteel.com/raven/archive/2006/05/13/45975.htmlRaven Raven Sat, 13 May 2006 06:42:00 GMT http://www.aygfsteel.com/raven/archive/2006/05/13/45975.html http://www.aygfsteel.com/raven/comments/45975.html http://www.aygfsteel.com/raven/archive/2006/05/13/45975.html#Feedback 5 http://www.aygfsteel.com/raven/comments/commentRss/45975.html http://www.aygfsteel.com/raven/services/trackbacks/45975.html
1 /* 2 目Q…?br /> 3 ~写QRaven,zhangyang@91vc.com 4 功能Q…?br /> 5 */ 6 7 /* ====标签元素========== */ 8 * { margin : 0 ; padding : 0 } 9 html { border : 0 ; } 10 body,div,p,th,td,li,dd,a,span { font-size : 12px ; font-family : Verdana,宋体 ; word-break : break-all ; } 11 body { background : #FFF } 12 ul { list-style : none ; } 13 a img { border : 0 ; } /* 去除带链接图片的蓝色Ҏ */ 14 p { line-height : 160% } 15 16 /* ====链接====== */ 17 a {} 18 a:hover {} 19 a.style1 {} 20 a.style1:hover {} 21 22 /* =====面l构与公p?======= */ 23 .f_l { float : left ; } /* 向左动 */ 24 .f_r { float : right ; } /* 向右动 */ 25 .c { height : 1% ; } /* 清除动用于IE */ 26 .c:after { content : "." ; display : block ; height : 0 ; clear : both ; visibility : hidden ; } /* 清除动用于FireFox */ 27 .ell { overflow : hidden ; white-space : nowrap ; text-overflow : ellipsis ; } /* 出范围的文字以省略h的换 */ 28 .h { height : 100% } 29 .dn { display : none } /* 消失 */ 30 .ac { text-align : center } /* 内元素居?/span>*/ 31 .ch { cursor : pointer ; cursor : hand } /* 指针为手形状 */ 32 .fwb { font-weight : bold }
]]> Z标准Q实现底部对?/title> http://www.aygfsteel.com/raven/archive/2006/04/02/38678.htmlRaven Raven Sat, 01 Apr 2006 19:29:00 GMT http://www.aygfsteel.com/raven/archive/2006/04/02/38678.html http://www.aygfsteel.com/raven/comments/38678.html http://www.aygfsteel.com/raven/archive/2006/04/02/38678.html#Feedback 2 http://www.aygfsteel.com/raven/comments/commentRss/38678.html http://www.aygfsteel.com/raven/services/trackbacks/38678.html 很多人在以往的页面制作中用valign:bottom实现底部寚w?br /> 但是在xHTML中,CSS中没有了q个׃知道如何是好Q以下ؓ解决ҎQ?br /> cssQ?/p>
#box1
{
position
:
relative
;
background
:
red
;
height
:
100px
;
width
:
100px
;
}
#box2
{
position
:
absolute
;
background
:
#BBB
;
height
:
20%
;
width
:
100%
;
left
:
0
;
bottom
:
0
;
}
htmlQ?br />< div id ="box1" > < div id ="box2" > 在下边了 </ div > </ div > ]]> 清除floatQؓ父元素获得高度! http://www.aygfsteel.com/raven/archive/2006/03/20/36436.htmlRaven Raven Mon, 20 Mar 2006 13:27:00 GMT http://www.aygfsteel.com/raven/archive/2006/03/20/36436.html http://www.aygfsteel.com/raven/comments/36436.html http://www.aygfsteel.com/raven/archive/2006/03/20/36436.html#Feedback 0 http://www.aygfsteel.com/raven/comments/commentRss/36436.html http://www.aygfsteel.com/raven/services/trackbacks/36436.html 在xhtml排版中有个问题每个新人都要遇刎ͼ那就是一个div的float会媄响到其父U元素hieght为gؓ0Q对于ie和非ieQ有以下两种解决ҎQ?br /> IE中: ?strong>height:1% 例:
<
div
style
="height:1%"
>
<
div
style
="float:left"
>
</
div
>
</
div
>
非IE中: ?strong>:after 例:.pelement:after { /* 在pelementq个元素的后?/span>*/ content: "." /* 写入一个点 */ display:block; /* 块布局方式 */ clear: both ; /* 清除左右动 */ height: 0 ; visibility : hidden ; /* 不可?/span>*/ }
]]> IE5.0?amp;lt;LI>的兼Ҏ解x?/title> http://www.aygfsteel.com/raven/archive/2006/03/10/34587.htmlRaven Raven Thu, 09 Mar 2006 19:52:00 GMT http://www.aygfsteel.com/raven/archive/2006/03/10/34587.html http://www.aygfsteel.com/raven/comments/34587.html http://www.aygfsteel.com/raven/archive/2006/03/10/34587.html#Feedback 4 http://www.aygfsteel.com/raven/comments/commentRss/34587.html http://www.aygfsteel.com/raven/services/trackbacks/34587.html 在刚刚的目中发C个问题,?lt;LI>的margin-top设ؓ0Ӟ其实默认情况下就?Q,ie6、FF、operaq三个浏览器都正常执行,但唯有ie5?lt;li>上下之间仍有I隙Q放大之后量出空隙的高度?PX的,几翻折腾后,用以下代码解冻I
margin-top:0 !important; margin-top /**/ :-2px;
我想q应该是ie5的BUGQ?/FONT> ]]> importantl讲解 http://www.aygfsteel.com/raven/archive/2006/03/09/34399.htmlRaven Raven Wed, 08 Mar 2006 19:19:00 GMT http://www.aygfsteel.com/raven/archive/2006/03/09/34399.html http://www.aygfsteel.com/raven/comments/34399.html http://www.aygfsteel.com/raven/archive/2006/03/09/34399.html#Feedback 20 http://www.aygfsteel.com/raven/comments/commentRss/34399.html http://www.aygfsteel.com/raven/services/trackbacks/34399.html 很多人,包括很多|站Q我所见过的所有网站,包括国内著名的‘网设计师’网站)Q都说important是不被IE所支持和认识的Q可是真的是q样吗?看了下边的两个例子,也许你会改变一些看法!
例一Q?BR> CSS
#box { color: red !important ; color : blue ; }
HTML
< div id ="Box" > 在不同的览器下Q这行字的色应该不同Q?/FONT> </ div >
q个例子应该是大家经常见到的important的用法了Q在IE环境下,q行字是蓝色Q在firefox下,为红Ԍ其用法不再多说了Q看下一个例子?/FONT>例二Q?BR> CSS
1 #box div { color : red ; } 2 .important_false { color : blue ; } 3 .important_true { color : blue !important ; }
HTML
< div id ="Box" > < div class ="important_false" > q一行末使用important </ div > < div class ="important_true" > q一行用了important </ div > </ div > 例二中,CSS代码W一行设定了box里面所有div中字体色为红ԌW二行和W三行都用class重新定义了自wdiv的字体色Ԍ不同的是Q第二行末用importantQ而第三行使用了! 默认情况下,class的优先于idQ所以,W二行中即用class重定义了自n样式Q也无法生效Q所以承父U属性,q行字还是红Ԍ 但是Q第三行中,用了important提升优先U(或看成强刉定义Q,所以这里的css得以生效Q这行字变ؓ了蓝Ԍ 从这个例子,得以证明Q?STRONG>ie对important的ƈ不是不支持! 那么Z么很多h都说ie不认识它呢?我想应该是大家实战中可能都没有遇C子中的情况: 当你x升class的优先时怎么办? 也就是说大家可能都忽略了它的q一作用Q只了解在命名ؓ同一个元素的CSS代码块中Q用它来提升排列序相对靠前的代码的优先U(例一Q! 通过上边两个例子Q得以ȝQ?BR> important?nbsp;一个良好(或者是标准Q的览器来_不仅仅是从顺序上提升代码的优先Q还可以用来提升class的优先Q比如firefoxQ,但是从IE对前者的不支持可以看出,q只是IE的一大BUGQ而不能说它“不认识、不支持”! 然而,不管怎么PIE的这一大BUG帮助我们解决了很多兼Ҏ问题,q显然不是g坏事Q?BR> ]]>Float排故心得 http://www.aygfsteel.com/raven/archive/2006/03/08/34175.htmlRaven Raven Wed, 08 Mar 2006 00:11:00 GMT http://www.aygfsteel.com/raven/archive/2006/03/08/34175.html http://www.aygfsteel.com/raven/comments/34175.html http://www.aygfsteel.com/raven/archive/2006/03/08/34175.html#Feedback 5 http://www.aygfsteel.com/raven/comments/commentRss/34175.html http://www.aygfsteel.com/raven/services/trackbacks/34175.html 在布局Ӟ有时会遇C下问题: <div id="mainBox"> <div id="leftbox"></div> </div id="rightbox"></div> </div> 一个大的DIVQ代码中的“mainBox”)里,嵌套两个DivQ其中第一个float:leftQ第二个float:rightQ结果发玎ͼ原来大的DIV的背景色没有了,其实是内容ؓI所_因ؓ内部的这两个div都Q动到了MainBox的上层(z-indexQ?BR> 解决办法很简单,lmainBox也加上一?nbsp; float: left ?/FONT> ]]>
վ֩ģ壺
|
|
Ľ |
º |
|
|
ԭ |
|
|
ɽ |
|
|
ͼľ |
Ӵ |
; |
|
ն |
|
|
|
|
|
ˮ |
|
|
|
ͨ |
|
|
|
|
|
Ͻ |
|
|
|
¹ |
|
Դ |
|
|