对于咨询窗口聊天窗口 很多人写了position:fixed 忽然发现IE6无效 不支持这个样式 那下面就是解决方案
参考网址:www.xd858.com 推荐支持:http://www.cnaaa.com/?idc
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>常州兴德装修</title>
<body style="height:80000px;">
<style>
html {
_background-image: url(about:blank); /*用浏览器空白页面作为背景*/
_background-attachment: fixed; /* prevent screen flash in IE6 确保滚动条滚动时,元素不闪动*/
}
#zixun{
position:fixed;
right:0px;
top:100px;
_position:absolute;
_top:expression(eval(document.documentElement.scrollTop+100));
}
</style>
<div id="zixun">
<img src="http://www.xd858.com/templets/xingde/images/common/zixun.jpg" usemap="#zixunMap">
<map name="zixunMap" id="zixunMap">
<area shape="rect" coords="37,164,145,189" href="http://wpa.qq.com/msgrd?v=3&uin=1336257988&Site=兴德装修&Menu=yes">
<area shape="rect" coords="37,207,145,232" href="http://wpa.qq.com/msgrd?v=3&uin=627973160&Site=兴德装修&Menu=yes">
<area shape="rect" coords="37,250,145,275" href="http://wpa.qq.com/msgrd?v=3&uin=2906162310&Site=兴德装修&Menu=yes">
</map>
</div>
</body>
</html>