簡體   English   中英

如何將 position 提交按鈕放在一起 html

[英]How to position submit button beside each other html

我目前有 2 個不能並排放置的提交按鈕。

在此處輸入圖像描述

    .submit-button {
         color: #fff;
         background: #55a1ff;
         border: 0;
         outline: 0;
         width: calc(15%);
         height: 50px;
         font-size: 16px;
         text-align: center;
         cursor: pointer;
         margin-top: 70px;
         margin-left:100px;
         border-radius: 30px;
    }

    .cancel-button {
         color: #fff;
         background: #55a1ff;
         border: 0;
         outline: 0;
         width: calc(15%);
         height: 50px;
         font-size: 16px;
         text-align: center;
         cursor: pointer;
     
         margin-left:450px;
         border-radius: 30px;

    }

<div class="arrange3">
    <button type="submit" class="submit-button" name="save", value="save">Submit</button>
</div>


<div class="arrange3">
    <button type="cancel" class="cancel-button" name="cancel", value="save">Cancel Claim</button>
</div>

我想如何將按鈕並排放置。 如果您能將代碼提供給我,那就太好了。 謝謝

使排列3 class 顯示內聯。

.arrange3{
    display: inline;
} 

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM