zoukankan      html  css  js  c++  java
  • ie6、ie7的textindent的问题

     1 <style type="text/css">
     2 *{margin:0; padding:0}
     3 a{text-decoration: none}
     4 
     5 a{display:inline-block;width:200px;
     6      height:34px; 
     7     line-height:34px;  
     8     font-weight:bold; 
     9     text-indent:3em; 
    10     background:yellow;
    11 }
    12 
    13 a.a1{display:inline-block;
    14     width:200px; 
    15     height:34px; 
    16     line-height:34px;  
    17     font-weight:bold; 
    18     text-indent:3em; 
    19     background:gray; 
    20     font-size:20px;}
    21 
    22 a.a2{display:inline-block;
    23     width:200px; 
    24     height:34px; 
    25     line-height:34px;  
    26     font-weight:bold; 
    27     text-indent:30px; 
    28     background:pink; 
    29     font-size:20px;}
    30 </style>
    31 </head>
    32 <body>
    33     <a href="###">加入购物车</a>
    34     <a href="###" class="a1">加入购物车</a>
    35     <a href="###" class="a2">加入购物车</a>
    36 </body>

      

  • 相关阅读:
    c++ range库
    差分数组
    简单比较一下C++中的引用和指针
    数字图像处理中一张常用图片
    内存池与内存块
    SmartPtr
    Allocator
    Java学习第12天
    Java学习第11天
    Java学习第10天
  • 原文地址:https://www.cnblogs.com/iz100/p/2867818.html
Copyright © 2011-2022 走看看