I’m currently playing around with JQuery Mobile. My idea is to create a page which displays a various amount of lists (at least one, maximum will be ~10).
When placing them on a page, the lists will fill out the whole horizontal space. They then are placed below each other.
This is fine when opening the page on a small telephone screen, but it does not look good on devices with a bigger screen size (tablets, desktop-browsers). Of course I could use a Grid to place them side by side, but this leads to a bad design on small-screen devices.
The best case would be that I open the page in my Desktop-browser, change the size of it and the lists replace themselves according to the screen size. On telephone-displays they would always be placed below each other.
Is it possible to display the lists depending on the screen-size automatically?
Please take also in mind that I do not always know how many lists a user will create.
Here’s an working example: http://jsfiddle.net/Gajotres/Yz3nS/
Because jQuery Mobile requires a HTML5 enabled browser you need to use a css media queries, they will give you maximum flexibility.
HTML :
And CSS :