Closed Lithimlin closed 6 years ago
But your "column 2" only has 11 columns. Everything needs to total 12, even sub divs. So what you should do is 1 & 11 and the 11 column width should sub 12 for a total of 13 columns.
Here is how to do 13 columns and center them. I think you want to text-align content to the center. Not center the column itself. Anyway, see https://pivot.wikiproject.net/wiki/User:Hutchy68/13_Columns for the demo and explanation on how.
Thanks a lot!
Here is how to do 13 columns and center them. I think you want to text-align content to the center. Not center the column itself. Anyway, see https://pivot.wikiproject.net/wiki/User:Hutchy68/13_Columns for the demo and explanation on how.
To me this demo looks like it could be added to an "official" wiki page rather than to a "private" subpage.
Setup
Issue
I am trying to use the Grid, but I need 13 columns. Thus I created 3 collumns and within the middle one 11 more which I was trying to center. But if I put
<div class="small-1 small-centered columns nopad">1</div>
, it results in "1" being alone in the middle and everything else being in the next row.This results in "Sanbox" being linear, then 0-10 underneath each other, centered, and "Linear" on the right.