半点优化网 http://www.bdxc.net/
当前位置首页 > 网站技术问题> 正文

网页代码问题 点击文字变色问题

2022-08-18 07:38:39 暂无评论 32 网站技术问题 问题   变色   文字

依此作修改
<style>
body #BAK{
background-image: url('bgdesert.jpg');
background-repeat: repeat/**/

}
#sideber {
width:50%; /*div 宽度*/
float:right; /*div 靠右*/
}
#content{
width:50%;
float: left ; /*div 靠左*/
}
</style>
<script language=JavaScript1.2>
<!--

function doit(header){
var TextHead=header.style
if (TextHead.display==none)
TextHead.display=
else
TextHead.display=none
}
//-->
</script>

<BODY>
<span style=cursor:hand onClick=doit(document.all[this.sourceIndex+1]);this.style.color='Red';>1常用特殊连结程式码</span></B>
<p style=display:none>
<a onmouseover=this.style.background='lightblue'; onmouseout=this.style.background='#ffffdd';>
<font color=#0000cd id=1><TABLE cellSpacing=1 cellPadding=1 width=70% border=1>
<TBODY>
<TR>
<TD width=489>固定背景<BR>1)<body BGProperties=Fixed background=online.gif > </P>
<P>2)<BODY style=background-attachment: fixed background=img/bgfix.gif > </P>
<P>3)<BODY style=background-attachment: fixed;background-image: URL(online.gif); > </P>
<P>4)<STYLE TYPE=text/css> <BR><!-- <BR>BODY {background-image: URL(online.gif);background-attachment: fixed;} <BR>--> <BR></STYLE></TD>
</BODY>

猜你喜欢