Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Have you tried position: fixed? Observing your link, as a proof of concept, something like this should do:</p> <pre><code>&lt;div class="addLine" style="position: fixed; bottom: 60px; width: 290px;"&gt; </code></pre> <p>Edit: Put three place holder conversations as place holders with visibility: hidden (this ensures they occupy space).</p> <pre><code>&lt;div class="convoCont"&gt; &lt;div class="actualConvo" style=""&gt; &lt;div class="invisibleFirst"&gt; &lt;div style="visibility: hidden;" class="textInputCont isaid"&gt;&lt;div class="author"&gt;Me:&lt;/div&gt;&lt;textarea class="isaid"&gt;&lt;/textarea&gt;&lt;div class="delete"&gt;Remove&lt;/div&gt;&lt;/div&gt; &lt;div style="visibility: hidden;" class="textInputCont isaid"&gt;&lt;div class="author"&gt;Me:&lt;/div&gt;&lt;textarea class="isaid"&gt;&lt;/textarea&gt;&lt;div class="delete"&gt;Remove&lt;/div&gt;&lt;/div&gt; &lt;div style="visibility: hidden;" class="textInputCont isaid"&gt;&lt;div class="author"&gt;Me:&lt;/div&gt;&lt;textarea class="isaid"&gt;&lt;/textarea&gt;&lt;div class="delete"&gt;Remove&lt;/div&gt;&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="addLine" style="position: fixed; bottom: 60px; width: 290px;"&gt; &lt;div class="isaid textLine"&gt;I said...&lt;/div&gt; &lt;div class="tsaid textLine"&gt;They said...&lt;/div&gt; &lt;/div&gt; &lt;br class="clear"&gt; &lt;/div&gt; </code></pre> <p>Then for each of the first 3 real entries, remove one of the place holders. If you want more precision, you can replicate the same place holder effect with padding-top on <strong>actualConvo</strong>. Just reduce the padding-top by a fixed value until it bottoms out at 0. If you want to make the buttons scrollable, just removed the styling and apply the padding-top at a higher DOM level.</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