我正在嘗試將兩條線對齊到一個單選按鈕的中間,如下所示。HTML/CSS垂直對齊無線電旁邊的兩條線
什麼是用CSS來實現這一目標的最佳方式是什麼?我可以排隊頂線,但底線是超級固執。如果可能的話,我試圖不漂浮收音機,因爲它正在使用jquery插件進行重新調整。
感謝您的幫助!
編輯: 這裏是我的代碼,我一直在與:
<div>
<input id="method-{{Description}}" type="radio" name="project[shipping-method]" value="{{Description}}" />
<label for="method-{{Description}}" class="pb-shipping-method-label">{{Description}} ({{DeliveryTime}})
<span>{{Price}}</span></label>
</div>
可看任何代碼?很難用現有的解決方案來提出任何改變,而無需查看代碼。 – brezanac