--- tags: Html, Css --- # 如何讓兩個表單按鈕不換行 在第一個表單中,添加Css代碼:style="float:left;" ```htmlmixed= <form style="float:left;" action="#" method="post"> <button class="btn btn-primary" type="submit">修改</button> </form> <form action="#" method="post"> <button class="btn btn-danger" type="submit">刪除</button> </form> ``` 成效如下 
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up