jQuery Mobile Framework

Navigation Search

Buttons in grids

On this page you see examples of how you can use grids to layout buttons.

Basic

Buttons in grids get a bit margin left and right.

Icon only, centered

Inline buttons can be centered by adding text-align: center; to your custom CSS.

Mini sized

Select & Checkbox

Responsive

It's not recommended to have many buttons with text on one row at small screens, because the text might get truncated. You can use responsive grids to stack the buttons at small screens. Here we use the framework preset breakpoint by adding class ui-responsive to the container.

Alignment

Use grid solo to align a single button with buttons in other grids.


No grid class
Back to Grids