Using grid in jQuery Mobile, I have designed a page and now looking to place a block exactly centralized on it.
In the first grid, there are 2 blocks equally positioned. In the next grid, only one block is present and I want it to be centered.
I have tried various techniques such as:
margin: 0 auto
However, none of these methods have been successful so far. How can I align a ui-block
in the center with the same width as the two upper blocks?
(codes can be found on jsfiddle)