描述文字是中文的,就竖排
描述文字是英文的,就横排
这是什么原因造成的代码如下:
<map name="Map">
  <area shape="circle" coords="53,336,14" href="hhgs-73.asp" target="_blank" onmouseover="go('长城轴承已发布',this)">
  <area shape="circle" coords="446,333,14" href="#" onmouseover="go('sdfdsfdsfdsf',this)">
  <area shape="circle" coords="864,208,14" href="#" onmouseover="go('招商中',this)">
</map>

解决方案 »

  1.   

    估计是DIV用了word-break:break-all;
      

  2.   

    就这段代码:
      <div   style=position:absolute;display:none   id=mdiv></div>   
      <script   language="JScript">   
      function   go(t,e){   
      mdiv.style.display="";   
      mdiv.innerHTML=t;   
      function   e.onmousemove(){   
      mdiv.style.pixelLeft=(document.body.clientWidth-event.clientX-10)>mdiv.offsetWidth?(event.clientX+10):(event.clientX-mdiv.offsetWidth);   
      mdiv.style.pixelTop=(document.body.clientHeight-event.clientY-10)>mdiv.offsetHeight?(event.clientY+10):(event.clientY-mdiv.offsetHeight);   
      }   
      function   e.onmouseout(){   
      mdiv.style.display="none";   
      }   
      }   
      </script>
      

  3.   

    <div   style=position:absolute;display:none   id=mdiv></div>   
      <script   language="JScript">   
      function   go(t,e){   
      mdiv.style.display="";   
      mdiv.innerHTML=t;   
      function   e.onmousemove(){   
      mdiv.style.pixelLeft=(document.body.clientWidth-event.clientX-10)>mdiv.offsetWidth?(event.clientX+10):(event.clientX-mdiv.offsetWidth);   
      mdiv.style.pixelTop=(document.body.clientHeight-event.clientY-10)>mdiv.offsetHeight?(event.clientY+10):(event.clientY-mdiv.offsetHeight);   
      }   
      function   e.onmouseout(){   
      mdiv.style.display="none";   
      }   
      }   
      </script>
    <a href="hhgs-73.asp" target="_blank" onmouseover="go('长城轴承已发布',this)">a</a>
    <a href="#" onmouseover="go('sdfdsfdsfdsf',this)">b</a>
    <a href="#" onmouseover="go('招商中',this)">c</a>正常啊