2016-07-26 148 views
-3
<div id="buttonpanel" style="display:None; float:left"> 
     <apex:commandButton action="{!selectQuarter}" value="Go!" status="actStatusId2" reRender="pgBlckId,panelrender,panelrender1,panelrender14,panelrender15,panelrender24,panelrender23,panelrender12,panelrender13,panelrender2,panelrender21,panelrender22" id="button2"/> 
     <apex:actionStatus id="actStatusId2" title="This is the status for loading image"> 
       <apex:facet name="start" > 
       <img src="/img/loading.gif" width="25" height="25" align="bottom" title="Loading"/> 
        <h3> Loading..</h3>   
       </apex:facet> 
     </apex:actionStatus> 
    </div> 

我想顯示並排兩個div標籤的一面。請讓我知道我該如何做到這一點?如何排列兩個div並排?

+0

不知道我能夠在編輯查詢時完全看到代碼。在

以下添加 – saru

回答

0

我沒有看到兩個div ....但改變你的h3元素內部div有inline顯示應該工作,因爲內聯元素不會在新行開始。

#buttonpanel h3{ 
    display:inline; 
    }