此回复为自动发出,仅用于显示而已,并无任何其他特殊作用
楼主【tongxingzhenfq】截止到2008-08-01 15:15:22的历史汇总数据(不包括此帖):
发帖的总数量:2                        发帖的总分数:20                       每贴平均分数:10                       
回帖的总数量:2                        得分贴总数量:0                        回帖的得分率:0%                       
结贴的总数量:1                        结贴的总分数:20                       
无满意结贴数:0                        无满意结贴分:0                        
未结的帖子数:1                        未结的总分数:0                        
结贴的百分比:50.00 %               结分的百分比:100.00%                  
无满意结贴率:0.00  %               无满意结分率:0.00  %                  
楼主加油

取消马甲机器人,请点这里:http://www.java2000.net/mycsdn/robotStop.jsp?usern=tongxingzhenfq

解决方案 »

  1.   

    悬浮在另一个text的下方
    这句话如何理解?
      

  2.   

        用div,我用了,不知道为什么不成功。代码如下:
       <style type="text/css">...
    #fixedLayer {...}{
    width:100px;
    line-height:50px;
    background: #FC6;
    border:1px solid #F90;
    position:fixed;
    left:10px;
    top:10px;
    }
    </style>
     <table>
    <tr><td>
         <asp:TextBox ID="txt"  runat="server" id="border"> </td>
    <tr><td >
         <div id="fixedLayer">
         <table>
          <tr>
            <td ><input   name="a" type="text" style=" border:0px; text-decoration:underline; cursor:pointer; " value="上海市" onclick="goPage(this)" id="1" readonly="readonly"/> </td></tr> 
         <tr> 
            <td><input   name="a1" type="text" style="border:0px; text-decoration:underline; cursor:pointer" value="北京市" onclick="goPage(this)" id="2" readonly="readonly"/> </td></tr>
         <tr>
            <td><input   name="a1" type="text" style="border:0px; text-decoration:underline; cursor:pointer" value="更多"  onclick="goPage(this)" id="much"readonly="readonly"/> </td> </tr>   
         </table> </div>
      然后div没起作用,不能实现,帮我看看。
      

  3.   

    不要用fixed,IE6和IE7不支持,有absolute,绝对定位。
      

  4.   

        <style type="text/css">... 
    #fixedLayer {...}{ 
    width:100px; 
    line-height:50px; 
    background: #FC6; 
    border:1px solid #F90; 
    position:fixed; 
    left:10px; 
    top:10px; 

    </style> 
       这是我在网上看到的cs简单实现悬浮的代码,能够在同样的浏览器中实现悬浮效果,但是拿到我的代码(上边table中的代码),就没有效果了呀,应该不是浏览器的原因吧。
      

  5.   

    我用的是元素的堆放次序实现视觉上的悬浮的方法,代码如下:
    #sale_price{                    
       position:absolute;      
       z-index:2;
      }
    #product_phtoto{
       position:absolute;
       z-index:1;
      }   
    <div id="product_phtoto"> 
       <asp:TextBox ID="txt"  runat="server" Width="150px"></asp:TextBox> 
    </div>
    <div id="sale_price"> 
        <input   name="a" type="text" style="width:200px;height:200px" value="" >    
    </div>