Foundation includes a handful of helpful alignment classes to add common positioning behaviors to elements.
+---
+
## Text alignment
You can align text with the `.text-x` classes. These classes will appy to the large breakpoint as well as the small.
</container>
```
+---
+
## Centering images
Just wrap the `<center>` around an image you’ll be good to go. Inky will handle the magic behind the scenes! In the CSS version, you’ll add a `.float-center` class, `align="center"` attribute and wrap a <code><center></code> tag to make sure things are centered.
</container>
```
+---
+
## Aligning images left and right
You can also align images to the left or the right.
</container>
```
+---
+
## Centering a button
Wrap the button with `<center>` tags to center it.
</container>
```
+---
+
## Centering columns
Tables by nature take up as much space is available to them. Because of this, centering columns can be done by adding empty columns to left and right of the column to be centered.
In Inky HTML, add the same class to the `<button>` tag.
```inky_example
-<button href="zurb.com" class="tiny">Tiny Button</button>
-<button href="zurb.com" class="small">Small Button</button>
-<button href="zurb.com" class="large">Large Button</button>
+<button href="#" class="tiny">Tiny Button</button>
+<button href="#" class="small">Small Button</button>
+<button href="#">Default Button</button>
+<button href="#" class="large">Large Button</button>
```
+Don't forget the `href=""` ;)
+
---
## Expanded
-To create an expanded button, add the class `.expanded` to the outer `<table>` of the button, and wrap a `<center>` tag around the `<a>`.
+To create an expanded button (full width of it's container), add the class `.expanded` to the outer `<table>` of the button, and wrap a `<center>` tag around the `<a>`.
In Inky HTML, add the `.expanded` class to the `<button>` tag.
```inky_example
-<button href="zurb.com" class="expand">Expanded Button</button>
+<button href="zurb.com" class="expanded">Expanded Button</button>
```
---