0
我希望手風琴容器的頂部內容窗格只下降300 px,以便用戶可以輕鬆地單擊下一個標題以調出完整的內容窗格。出於某種原因,頂級的ContentPane(搜索查詢手風琴窗格)忽略了我在樣式中給出的高度值。有人知道爲什麼AccordionContainer中的ContentPane忽略高度
感謝
<!-- Search Accordian Container -->
<div id="accordion" dojoType="dijit.layout.AccordionContainer">
<!-- Search Query Accordian Pane -->
<div style="height:300px; background-color: #F2EFED;" title="Search Query" dojoType="dijit.layout.ContentPane" selected="true" >
<label for="first_name">First Name:</label>
<input type="text" name="first_name" id="first_name"
size="30" /><br/>
<label for="last_name">Last Name:</label>
<input type="text" name="last_name" id="last_name"
size="30" /><br/>
<label for="middle_initial">Middle Initial:</label>
<input type="text" name="middle_initial" id="middle_initial"
size="1" /><br/>
</div>
<!-- Search Results Accordian View -->
<div class="searchAccordianPane" title="Search Results" dojoType="dijit.layout.ContentPane">
<img src="http://davidwalsh.name/dw-content/accordion/every-picture.jpg" class="image" />
<p>Roderick "Rod" David Stewart, CBE (born January 10, 1945), is a singer and songwriter...</p>
</div>
</div>