![](/img/trans.png)
[英]Why bootstrap float-right class not working for my button?
[英]why float right is not working also used important?
我的標題中有三個圖像按鈕,位於圖像的右側,我試圖在標題中添加三個按鈕。但是它沒有采用float:right和margin-right 。我需要像這樣進行檢查,請檢查圖像![在此處輸入圖片描述] [1]
我在右側有“ +”號,並在其中搜索和收集圖片。因此要在右側設置此按鈕? 這是我的朋克
<ion-header-bar align-title="" class="bar-balanced">
<a class="button button-clear icon-right ion-chevron-right ">
</a>
<h1 class="title">Title!</h1>
<div style="float:right!important;border:1px solid red ;margin-right:10px">
<a class="button button-icon icon ion-plus"></a>
<a class="button button-icon icon ion-search"></a>
<a class="button button-icon icon ion-funnel"></a>
</div>
</ion-header-bar>
將float:right
替換為position: absolute;
right: 10px;
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.