• 解决IE6最后一行文字溢出


    
    
     <div id="footer">
    <img src="templets/images/footlogo.gif"/>
    <p>XXXX网 版权所有 Copyright @2009-2011 www.xxx.com All Rights Reserved.
    <br />特别声明:本站医学信息仅供参考,转载本站文章请注明出处.</p>
    <div><div style="display:none;">hidden-解决IE6文字溢出</div></div>
    </div><!-- footer end -->
    
    

    布局完了之后之一直是多一个“处”字出来,郁闷死了,后来在div里面加入了红色的那段代码就好了。 $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ 在IE6下,经常会出现如下情况:

    例如,一个div中有一段文字,但是最后一行的最后几个字符老是换行重复显示。

    在网上搜了好多资料,像什么html中有注释什么的,都不能最终解决问题。而且,也不能随意的去删除注释。

    后来,终于找到了一个方法:

    在出问题的标签下面加个div去纠正样式问题:

    <div><div style="display:none;">hidden-解决IE6文字溢出</div></div> 

    这样一来,就可以纠正这个bug了……

  • 相关阅读:
    IfcFlowDirectionEnum
    QAxWidget
    IfcDistributionFlowElementType
    IfcBuildingElementProxy 概念用法
    opencv图片旋转90度
    IfcMaterialList
    IfcDistributionChamberElement
    IfcArithmeticOperatorEnum
    FileWriter
    IfcDistributionChamberElementType
  • 原文地址:https://www.cnblogs.com/triggor/p/2407918.html
Copyright © 2020-2023  润新知