尝试将Bootstrap 4复选框设置为标签右侧时未出现

时间:2020-05-06 20:37:15

标签: html css bootstrap-4

我正试图使该复选框显示在标签的右侧。我在代码段中显示的代码显示了右侧出现的复选框,但是当我将相同的代码应用于项目时,该复选框没有出现在浏览器中,并且标签(在本例中为390.00)突出显示。我在下面提供了一张图片,向您展示我的意思。有谁知道这个问题可能是什么?这是从Bootstrap获取复选框元素。

enter image description here

"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet"/>
<div class="radio1" id="radio1">
<label for="acme">390.00</label>
                                <input type="checkbox" value="390.00" name="acme_bill" id="acme" onclick="updateTotal()">
                                
                            </div>

0 个答案:

没有答案