From: RafiBomb Date: Mon, 21 Mar 2016 05:36:09 +0000 (-0700) Subject: adds centered button example X-Git-Tag: v2.0.0-rc.4~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=916f54c3f2a394ab538fb5874c2ed0229d0eaea6;p=thirdparty%2Ffoundation%2Ffoundation-emails.git adds centered button example --- diff --git a/docs/pages/alignment.md b/docs/pages/alignment.md index f39871f2..f1b080cc 100644 --- a/docs/pages/alignment.md +++ b/docs/pages/alignment.md @@ -119,6 +119,22 @@ You can also align images to the left or the right. ``` +## Centering a button + +Wrap the button with `
` tags to center it. + +```inky_example + + + +
+ +
+
+
+
+``` + ## 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.