200字范文,内容丰富有趣,生活中的好帮手!
200字范文 > html怎么做左侧广告 利用DIV+CSS制作浮动广告

html怎么做左侧广告 利用DIV+CSS制作浮动广告

时间:2020-09-13 15:52:35

相关推荐

html怎么做左侧广告 利用DIV+CSS制作浮动广告

向"左"边靠

向"右"边靠

向"上"边靠

向"下"边靠

X轴:

'可以设置X轴与Y轴

qqboxx = Trim(request("qqboxx"))

If qqboxx = "" Then

qqboxxs = "0"

Else

qqboxxs = qqboxx

End If

qqboxlr = Trim(request("qqboxlr"))

'qqboxlr = "right"'qqboxlr控制左右位置

if qqboxlr = "left" then

qqboxlrs = "right:"

elseIf qqboxlr = "right" then

qqboxlrs = "left:"

end If

qqboxtb = Trim(request("qqboxtb"))

'qqboxtb = "bottom"'qqboxtb控制上下位置

If qqboxtb = "top" Then

qqboxtbs = "top:"

ElseIf qqboxtb = "bottom" Then

qqboxtbs = "bottom:"

End if

%>

qqbox

.qqobjbox,.qqobjboxove,.qqobjboxout {width:100px;height:80px;position:fixed !important;0;position:absolute;z-

index:100;background:red;float:;}

*html .qqobjbox,*html .qqobjboxove,*html .qqobjboxout {expression(offsetParent.scrollTop+20);}

.qqobjbox {-80px;}

.qqobjboxove {0px;}

.qqobjboxout {-80px;}

function qqboxove(str){document.getElementById(str).className="qqobjboxove";}

function qqboxout(str){document.getElementById(str).className="qqobjboxout";}

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。