【发布时间】:2020-12-14 10:16:07
【问题描述】:
我编写了一个输出为 [What is] 1 的代码,我希望它是 [应该是什么] 2 我该怎么做?应该在哪里编辑?
我编写了一个输出为 [What is] 1 的代码,我希望它是 [What should be] 2 我该怎么做?应该在哪里编辑?
.prt-pricing-detial {
display: table;
text-align: right;
width: 100%;
margin-bottom: 25px;
}
.pricing-heading {
font-family: "Mr Eaves XL Modern", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-style: normal;
font-weight: normal;
line-height: normal;
font-size: 16px;
color: #000000;
vertical-align: middle;
display: table-cell;
}
.pricing-profit {
display: inline-block;
text-align: center;
height: 42px;
font-size: 18px;
width: 120px;
text-indent: 8px;
}
.prt-pricing-name {
text-align:center;
font-weight: 600;
font-size: 18px;
margin-bottom: 20px;
}
<div class="prt-pricing-content">
<div class="prt-pricing-name"><span></span></div>
<div class="prt-pricing-detial">
<span class="pricing-heading">سود شما:</span><div class="pricing-field">
<input class="pricing-profit" type="number" value="25.00" disabled="">
【问题讨论】:
-
你只需要在
<div class="prt-pricing-detial">中交换标签span和input -
请修改代码并回复谢谢@sergeykuznetsov
-
尝试在您的问题中添加一个可运行的 sn-p。这有帮助吗? stackoverflow.com/questions/12410792/…stackoverflow.com/questions/56907889/…stackoverflow.com/questions/52516820/…