<p class="sougouContent"> <style> <br /> a <br /> { <br /> display :block ; <br /> font-family:Arial; <br /> font-size:.8em; <br /> text-align :center ; <br /> margin :2px; <br /> } <br /> a:link,a:visited <br /> { <br /> color:#A62020; <br /> padding: 2px 4px 2px 4px; <br /> background-color:#ddd; <br /> text-decoration :none; <br /> border-top :1px solid #eeeeee; <br /> border-left :1px solid #eeeeee; <br /> border-bottom :1px solid #717171; <br /> border-right :1px solid #717171; <br /> } <br /> a:hover <br /> { <br /> color :#821818; <br /> padding :5px 8px 3px 12px; <br /> background-color :#ccc; <br /> border-top :1px solid #717171; <br /> border-left :1px solid#717171; <br /> border-bottom :1px solid #eeeeee; <br /> border-right :1px solid #eeeeee; <br /> } <br /> </style> <br> 效果图: <br> </p> <br> <h2>回复讨论(解决方案)</h2> <p class="sougouAnswer"> a{ <br> display:inline-block <br> } <br> <br> 参考 display float2个属性的描述 <br> 他们对于排列的显示方式很重要 </p> <p class="sougouAnswer"> 好的~~~~~谢谢 </p>