Note that there are some explanatory texts on larger screens.

plurals
  1. POCreating Wizard HTML/CSS Interface Using jQueryUI
    primarykey
    data
    text
    <p>I'm trying to create a wizard-like interface where there are back/next and start-over buttons with the main content taking up the majority of the space. This is in HTML/CSS and using jQueryUI for an HTML Application (HTA) to only target IE8. Currently this is what I have:</p> <p><strong>HTML:</strong></p> <pre><code>&lt;body scroll="no"&gt; &lt;div id="maincontent"&gt; &lt;/div&gt; &lt;div id="buttons"&gt; &lt;button class="bottombutton" id="backbutton"&gt;Back&lt;/button&gt; &lt;button class="bottombutton" id="startoverbutton"&gt;Start Over&lt;/button&gt; &lt;button class="bottombutton" id="nextbutton"&gt;Next&lt;/button&gt; &lt;/div&gt; &lt;/body&gt; </code></pre> <p><strong>CSS:</strong></p> <pre><code>.bottombutton { position: absolute; margin-top: 20px; bottom: 10px; } .centeredbuttons { margin-left: auto; margin-right: auto; } #backbutton { left: 10px; } #nextbutton { right: 10px; } #startoverbutton { position: absolute; left: 100px; } #maincontent { position: fixed; height: 340px; width: 96.3%; top: 12px; left: 12px; } </code></pre> <p>However, the result is extremely inconsistent when using jQueryUI's Accordion depending on the contents of the Accordion (the Accordion is always placed into #maincontent) and <strong>I would like it to FILL the parent div</strong> (#maincontent). The height can easily vary between pages despite the Accordion being set to heightStyle: "fill". (Content is loaded dynamically into #maincontent using load().)</p> <p>This is how I would like it to look (and some pages do):</p> <p><img src="https://i.stack.imgur.com/YLs0i.png" alt="Correct Look"></p> <p>And how some pages look (some are much worse than this):</p> <p><img src="https://i.stack.imgur.com/HL3vO.png" alt="Bad Look"></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload