html - 尝试将其设置到标签右侧时,Bootstrap 4 复选框未出现
问题描述
我试图让复选框显示在标签的右侧。我在片段中的代码显示了右侧出现的复选框,但是当我将相同的代码应用到我的项目时,该复选框不会出现在我的浏览器中,并且在本例中为 390.00 的标签会突出显示。我在下面提供了一张图片,向您展示我的意思。有谁知道问题可能是什么?这是从 Bootstrap 中获取复选框元素。
"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>
解决方案
推荐阅读
- logistic-regression - 有没有办法追踪符合这些数据的曲线?
- javascript - 在 JavaScript 中按类别对值进行排序的最佳方法是什么
- r - 在 R 中,我如何重新编码 LCA 的调查,所以第一个响应是 1,而不是 0?范围现在是 0-4
- regression - 具有不同长度的解释变量的 OLS 回归
- datagrip - DataGrip 导航栏“输入”点击打开控制台而不是展开文件夹
- python - 为什么它显示“错误”而不是“好”?
- typescript - 用户单击时如何更改 .svg 图标或图像颜色。在世博会上反应天真
- python - 从 Python 列表分配中的列表中删除重复元素
- amazon-web-services - 将所有卷修改为 gp3 aws ec2
- r - R中的绘图错误:需要有限的'ylim'值