Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It's still a little vague as to what your exact requirements are for centering (as in, all your illustrations above show an even number of elements, so I don't know what you expect for odd number. In your fiddle, I just added a <code>text-align: center</code> to the <code>ul</code> and achieved a centering effect ( <a href="http://jsfiddle.net/nR9Mk/1/">http://jsfiddle.net/nR9Mk/1/</a> ), but I don't know if it is behaving as you desire.</p> <p><strong>Update</strong>: If you are only dealing with even numbers and you want them to remain grouped by two's, then this would work: <a href="http://jsfiddle.net/nR9Mk/8/">http://jsfiddle.net/nR9Mk/8/</a>.</p> <p><strong>ROUND 2</strong>: Based on your revealed "odd number" requirements, I have come up with a solution that works. Note: 1) it does require some extra HTML markup, 2) you have to set some type of practical limit to how wide you want to go and still get the effect. <a href="http://jsfiddle.net/nR9Mk/41/">Here</a> is the code with the "buffer" elements revealed by an <code>outline</code> and <a href="http://jsfiddle.net/nR9Mk/42/">here</a> is it with the outline removed.</p> <p><strong>ROUND 3</strong>: I know you already accepted my answer, but I was already working on this, so I figured I would offer it anyway. Based on your deal breaker comment, <a href="http://jsfiddle.net/nR9Mk/121/">here is a modified plan</a> that may be useful for you (or someone else). It is a hybrid -- "sometimes" it pushes the elements left (usually when it would be most awkward to not) and sometimes lets them stay "off column" but centered. To keep it from ever looking plain "weird" it is given a <code>max-width</code> of six columns wide.</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. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. 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