Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>What you are doing seems to be working (at least per how you describe what you are looking for here). I'm assuming that your issue is the complexity of your selectors? If so, one thing you could try is moving the selector to the individual element. I know for bootstrap they call this pull-right so I went ahead and did that:</p> <pre><code>&lt;ul class="dual-align-list"&gt; &lt;!-- Title really only needs to be in a div if you plan on styling it further --&gt; &lt;li&gt; Title &lt;div class="pull-right"&gt;[button]&lt;/div&gt;&lt;/li&gt; &lt;li&gt; Title &lt;div class="pull-right"&gt;[button]&lt;/div&gt;&lt;/li&gt; &lt;/ul&gt; </code></pre> <p>See <a href="http://jsfiddle.net/EGxWy/" rel="nofollow">this JSFiddle</a> for a working example with that in it. Hopefully this addresses the actual question!</p> <p><strong>Edit</strong></p> <p>By the way, if the issue is just how far the button goes to the right you can put everything in a fixed width container or you can add a margin-right to the "pull-right" class. For the fixed width container, just wrap your ul in:</p> <pre><code>&lt;div class="container"&gt; &lt;!-- "ul" here --&gt; &lt;/div&gt; </code></pre> <p>You will also need the following style rule as well:</p> <pre><code>/* edited to use percents for a responsive layout */ .container { margin-left: 5%; margin-right: 5% } </code></pre> <p>I put this in an update to the previous fiddle <a href="http://jsfiddle.net/EGxWy/2/" rel="nofollow">you can find here</a>. Hopefully that helps some as well. Good luck!</p> <p><strong>EDIT (2)</strong></p> <p>Changed fixed width layout to responsive layout with 5% margins. These could be adjusted per the desired result or even styled with the @media element to vary based on screen size!</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.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      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