如何在HTML中并排设置按钮

时间:2014-05-22 07:16:06

标签: html css

这是CSS

.button2  {
    appearance: button;
    -moz-appearance: button;
    -webkit-appearance: button;
    color: ButtonText;
    display: inline-block; 
    padding: 2px 8px;
}

这是我试图并排设置按钮的代码

<div class="container-button">
    <a href="#" class="button2">Order Now</a>
    <a href="#" class="button2">More Information</a>
</div>

1 个答案:

答案 0 :(得分:0)

您的按钮已经并排排列。 检查&#34;显示&#34; property @

http://css-tricks.com/almanac/properties/d/display/